Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 10:08:03 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342260 - head/databases/db43
Message-ID:  <201402021008.s12A83Hq072965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Feb  2 10:08:02 2014
New Revision: 342260
URL: http://svnweb.freebsd.org/changeset/ports/342260
QAT: https://qat.redports.org/buildarchive/r342260/

Log:
  - Stage support

Modified:
  head/databases/db43/Makefile

Modified: head/databases/db43/Makefile
==============================================================================
--- head/databases/db43/Makefile	Sun Feb  2 10:05:42 2014	(r342259)
+++ head/databases/db43/Makefile	Sun Feb  2 10:08:02 2014	(r342260)
@@ -30,12 +30,10 @@ CONFIGURE_ARGS=		--enable-compat185 --en
 			--libdir=${PREFIX}/lib/${PORTNAME} \
 			--bindir=${PREFIX}/bin/${PORTNAME}
 INSTALL_TARGET=		install_include install_lib install_utilities
-.if !defined(NOPORTDOCS)
+
 INSTALL_TARGET+=	install_docs docdir=${DOCSDIR}
 PORTDOCS=		*
-.endif
 
-NO_STAGE=	yes
 pre-patch:
 	${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g; s,/usr/bin/objformat \|\| echo aout,/usr/bin/objformat || echo elf,' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
@@ -47,13 +45,13 @@ post-configure:
 
 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
 .if !defined(NOPORTDOCS)
 	@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
 .endif
-	cd ${PREFIX}/bin/${PORTNAME} ; \
+	cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ; \
 	for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402021008.s12A83Hq072965>