aboutsummaryrefslogtreecommitdiff
path: root/archivers/dpkg
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 23:15:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 23:15:07 +0000
commitff54c475e1c9a19d47fb6b3d97fad06870a6cfb5 (patch)
tree220fc5831362dc9ecd39c7c2107524085a8f1c06 /archivers/dpkg
parent9308f87e9941bea126ac1c5c768a2387debabdfa (diff)
downloadports-ff54c475e1c9a19d47fb6b3d97fad06870a6cfb5.tar.gz
ports-ff54c475e1c9a19d47fb6b3d97fad06870a6cfb5.zip
Notes
Diffstat (limited to 'archivers/dpkg')
-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>