aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-02 18:25:49 +0800
committermiwi <miwi@FreeBSD.org>2014-02-02 18:25:49 +0800
commit26852ead912f703bf735380a3b6802319f067cfa (patch)
tree28787ea69ef139e78c8ee5dcd17fb1177bab04ca
parent0159780d4ffc2c3ea6002eefa58adcc900d94781 (diff)
downloadfreebsd-ports-gnome-26852ead912f703bf735380a3b6802319f067cfa.tar.gz
freebsd-ports-gnome-26852ead912f703bf735380a3b6802319f067cfa.tar.zst
freebsd-ports-gnome-26852ead912f703bf735380a3b6802319f067cfa.zip
- Stage support
-rw-r--r--databases/db47/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index c908a5c2e0a6..42db6d7d3a3a 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/Makefile
@@ -45,18 +45,15 @@ LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
-.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= *
-.endif
-NO_STAGE= yes
post-install:
.for i in libdb libdb_cxx
- ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
- ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
+ ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -s -f ${i}-${BDBVER}.so.0 ${STAGEDIR}${PREFIX}/lib/${i}-${BDBVER}.so
.endfor
- cd ${PREFIX}/bin/${PORTNAME} ; \
+ cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
.include <bsd.port.mk>