aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-10 07:15:07 +0800
committerbapt <bapt@FreeBSD.org>2014-01-10 07:15:07 +0800
commitfeffcec2465fe768243a22a94e1ebac9a0c85555 (patch)
tree220fc5831362dc9ecd39c7c2107524085a8f1c06 /archivers
parent52d624c08d9bfdedf99302504536d733a93ca94a (diff)
downloadfreebsd-ports-gnome-feffcec2465fe768243a22a94e1ebac9a0c85555.tar.gz
freebsd-ports-gnome-feffcec2465fe768243a22a94e1ebac9a0c85555.tar.zst
freebsd-ports-gnome-feffcec2465fe768243a22a94e1ebac9a0c85555.zip
Fix packaging as a USER
Do not run post-install (it is automatic when staged)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/dpkg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile
index e2911a661f66..abc072c8ede9 100644
--- a/archivers/dpkg/Makefile
+++ b/archivers/dpkg/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar \
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>