ports/63316: [MAINTAINER] databases/db42: USE_LIBTOOL

Matthias Andree matthias.andree at gmx.de
Tue Feb 24 19:50:13 UTC 2004


>Number:         63316
>Category:       ports
>Synopsis:       [MAINTAINER] databases/db42: USE_LIBTOOL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 24 11:50:11 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list