aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db6
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db6')
-rw-r--r--databases/db6/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/databases/db6/Makefile b/databases/db6/Makefile
index b73570ff0f38..cf5d5355ffa9 100644
--- a/databases/db6/Makefile
+++ b/databases/db6/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 6.0.19.0
CATEGORIES= databases java
MASTER_SITES= http://download.oracle.com/berkeley-db/
PKGNAMEPREFIX?=
-NO_STAGE= yes
# the distfiles aren't named db6-* but db-*:
DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb
@@ -25,7 +24,7 @@ CONFIGURE_ARGS= --enable-cxx --enable-stl \
--bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
INSTALL_TARGET= install_include install_lib install_utilities
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
@@ -90,23 +89,24 @@ post-patch:
post-install:
.for i in libdb libdb_cxx libdb_stl ${libdb_sql} ${libdb_java}
- ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so ${PREFIX}/lib
- ${LN} -s -f ${i}-${BDBVER}.a ${PREFIX}/lib/${PORTNAME}/${i}.a
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${i}-${BDBVER}.so
+ ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so ${STAGEDIR}${PREFIX}/lib
+ ${LN} -s -f ${i}-${BDBVER}.a ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${i}.a
.endfor
- cd ${PREFIX}/bin/${PORTNAME}; \
+ cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME}; \
for i in *; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
.if ${PORT_OPTIONS:MDOCS}
.for i in api_reference/TCL
- ${RM} -r -f ${DOCSDIR}/${i}
+ ${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}
.endfor
.if empty(PORT_OPTIONS:MJAVA)
- ${RM} -r -f ${DOCSDIR}/java
+ ${RM} -r -f ${STAGEDIR}${DOCSDIR}/java
.for i in gsg gsg_db_rep gsg_txn
- ${RM} -r -f ${DOCSDIR}/${i}/JAVA
+ ${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}/JAVA
.endfor
.endif
.if empty(PORT_OPTIONS:MSQL)
- ${RM} -r -f ${DOCSDIR}/bdb-sql
+ ${RM} -r -f ${STAGEDIR}${DOCSDIR}/bdb-sql
.endif
.endif