svn commit: r339299 - head/archivers/dpkg
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jan 9 23:15:07 UTC 2014
Author: bapt
Date: Thu Jan 9 23:15:07 2014
New Revision: 339299
URL: http://svnweb.freebsd.org/changeset/ports/339299
Log:
Fix packaging as a USER
Do not run post-install (it is automatic when staged)
Modified:
head/archivers/dpkg/Makefile
Modified: head/archivers/dpkg/Makefile
==============================================================================
--- head/archivers/dpkg/Makefile Thu Jan 9 23:02:29 2014 (r339298)
+++ head/archivers/dpkg/Makefile Thu Jan 9 23:15:07 2014 (r339299)
@@ -20,7 +20,6 @@ RUN_DEPENDS= gtar:${PORTSDIR}/archivers/
USE_XZ= yes
GNU_CONFIGURE= yes
USES= gmake iconv perl5 pkgconfig
-NEED_ROOT= yes
WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION}
DPKGDIR?= /var/db/dpkg
@@ -47,8 +46,9 @@ post-patch:
${WRKSRC}/lib/dpkg/dpkg.h
@${REINPLACE_CMD} -E 's/(md5|sha1|sha256)sum/g&/g' \
${WRKSRC}/scripts/Dpkg/Checksums.pm
-
-post-install:
- ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/lib/*/Makefile.in
+ @${REINPLACE_CMD} -e 's/cp -p $$(DEST/mv $$(DEST/g; s/rm $$(/rm -f $$(/g' \
+ ${WRKSRC}/scripts/mk/Makefile.in \
+ ${WRKSRC}/scripts/Makefile.in
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list