aboutsummaryrefslogtreecommitdiff
path: root/databases/db47
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-26 01:59:27 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-26 01:59:27 +0000
commit07ad4fe83e64aebdf07934bedf92d99326621a61 (patch)
tree2cc051cb7a39cf6cacd914f57895684a8275ebe7 /databases/db47
parentdc8ee8da458c0d2f47925ddb891373a731d2c861 (diff)
downloadports-07ad4fe83e64aebdf07934bedf92d99326621a61.tar.gz
ports-07ad4fe83e64aebdf07934bedf92d99326621a61.zip
Notes
Diffstat (limited to 'databases/db47')
-rw-r--r--databases/db47/Makefile.db9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/db47/Makefile.db b/databases/db47/Makefile.db
index 5d2c504bb2f2..be96d05d2e1b 100644
--- a/databases/db47/Makefile.db
+++ b/databases/db47/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