diff options
author | mandree <mandree@FreeBSD.org> | 2013-12-14 17:57:02 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-12-14 17:57:02 +0800 |
commit | b6ea3725f07e642d09f13a310ac2d14c19936040 (patch) | |
tree | fcec2261ddaf83ddc4a421e3b90914036f4951cd /databases/db6 | |
parent | a5e29e3a1e6fa9e8928f30842c5add758caf8876 (diff) | |
download | freebsd-ports-gnome-b6ea3725f07e642d09f13a310ac2d14c19936040.tar.gz freebsd-ports-gnome-b6ea3725f07e642d09f13a310ac2d14c19936040.tar.zst freebsd-ports-gnome-b6ea3725f07e642d09f13a310ac2d14c19936040.zip |
Convert to staging.
Strip debug symbols for installed .so files unless WITH_DEBUG is set.
Diffstat (limited to 'databases/db6')
-rw-r--r-- | databases/db6/Makefile | 18 |
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 |