summaryrefslogtreecommitdiffstats
path: root/databases/db44
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-02-26 01:59:27 +0000
committerclement <clement@FreeBSD.org>2004-02-26 01:59:27 +0000
commit7e97ca4e280502848c420108b40edbe530aa7932 (patch)
tree0bb75c9a5c30c1b195f4f6f09ec14c855c9b40ef /databases/db44
parent841480c09983c07443ab44cae8f2210fc1d5886c (diff)
downloadFreeBSD-ports-7e97ca4e280502848c420108b40edbe530aa7932.zip
FreeBSD-ports-7e97ca4e280502848c420108b40edbe530aa7932.tar.gz
- add USE_LIBTOOL support
PR: 63316 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Diffstat (limited to 'databases/db44')
-rw-r--r--databases/db44/Makefile.db9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/db44/Makefile.db b/databases/db44/Makefile.db
index 5d2c504..be96d05 100644
--- a/databases/db44/Makefile.db
+++ b/databases/db44/Makefile.db
@@ -7,13 +7,11 @@ PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
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/^\.//}
@@ -33,6 +31,9 @@ PORTDOCS= *
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
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
OpenPOWER on IntegriCloud