From matthias.andree@gmx.de  Tue Feb 24 11:48:20 2004
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 13A5916A4CE; Tue, 24 Feb 2004 11:48:20 -0800 (PST)
Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id D223243D1F; Tue, 24 Feb 2004 11:48:19 -0800 (PST)
	(envelope-from matthias.andree@gmx.de)
Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])
	by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 07C991A14D;
	Tue, 24 Feb 2004 20:48:18 +0100 (CET)
Received: from sigma.emma.line.org (sigma.emma.line.org [192.168.0.49])
	by merlin.emma.line.org (Postfix) with ESMTP id 96565AEF;
	Tue, 24 Feb 2004 20:48:17 +0100 (CET)
Received: by sigma.emma.line.org (Postfix, from userid 500)
	id 70F545C5E; Tue, 24 Feb 2004 20:48:17 +0100 (CET)
Message-Id: <20040224194817.70F545C5E@sigma.emma.line.org>
Date: Tue, 24 Feb 2004 20:48:17 +0100 (CET)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: eik@freebsd.org
Subject: [MAINTAINER] databases/db42: USE_LIBTOOL
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63316
>Category:       ports
>Synopsis:       [MAINTAINER] databases/db42: USE_LIBTOOL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 24 11:50:11 PST 2004
>Closed-Date:    Wed Feb 25 17:59:47 PST 2004
>Last-Modified:  Wed Feb 25 17:59:47 PST 2004
>Originator:     Matthias Andree
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sigma.emma.line.org 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Feb 24 16:34:50 CET 2004
>Description:
USE_LIBTOOL with workarounds for the b0rked bsd.port.mk that hardcodes
configure (rather than looking at CONFIGURE_SCRIPT) added.
Note however that portlint doesn't follow .includes in Makefile and
hence still complains. Someone needs to fix portlint and bsd.port.mk.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- db42-4.2.52_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/db42/Makefile.db /usr/home/emma/ports/databases/db42/Makefile.db
--- /usr/ports/databases/db42/Makefile.db	Mon Jan 26 23:25:22 2004
+++ /usr/home/emma/ports/databases/db42/Makefile.db	Tue Feb 24 15:58:35 2004
@@ -7,13 +7,11 @@
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/build_unix
 
-# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
-# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
-# with its non-standard ${CONFIGURE_SCRIPT}.
 USE_REINPLACE=		yes
 INSTALLS_SHLIB=		yes
-HAS_CONFIGURE=		yes
+USE_LIBTOOL_VER=	15
 CONFIGURE_SCRIPT=	../dist/configure
+LIBTOOLFILES=		${CONFIGURE_SCRIPT}
 CONFIGURE_TARGET=	--target=${ARCH}-portbld-freebsd${OSREL}
 BDBVER=			${PORTVERSION:R}
 BDBMINOR=		${BDBVER:E:S/^\.//}
@@ -32,6 +30,9 @@
 
 pre-patch:
 	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+pre-configure:
+	${CHMOD} u+w ${WRKSRC}/../dist/configure
 
 post-install:
 .for i in libdb libdb_cxx
--- db42-4.2.52_2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: clement 
State-Changed-When: Wed Feb 25 17:59:30 PST 2004 
State-Changed-Why:  
Committed. thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63316 
>Unformatted:
