diff options
author | hubertf <hubertf> | 1997-12-15 00:48:27 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-12-15 00:48:27 +0000 |
commit | 71e9b57e4b90dc99e1afdfe515f806046d9cec1e (patch) | |
tree | 8acf7244c59db93eaf80c3530018cad6a2404f7e /graphics/netpbm | |
parent | 7bc33ccfa47a165860b57b9b1f2c7474b07e4395 (diff) | |
download | pkgsrc-71e9b57e4b90dc99e1afdfe515f806046d9cec1e.tar.gz |
Make sure replacing of /usr/local works; inspired by Matthias Scheler.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 363c688f9f3..578a5b87c11 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1997/11/07 23:46:16 hubertf Exp $ +# $NetBSD: Makefile,v 1.6 1997/12/15 00:48:27 hubertf Exp $ # New ports collection makefile for: netpbm # Version required: 1mar1994 # Date created: ? @@ -72,6 +72,9 @@ MAN1= atktopbm.1 g3topbm.1 brushtopbm.1 cmuwmtopbm.1 \ MAN3= libpbm.3 libpgm.3 libppm.3 libpnm.3 MAN5= pbm.5 pgm.5 ppm.5 pnm.5 +post-extract: + chmod -R +w ${WRKSRC} + pre-configure: for f in `find ${WRKDIR} -type f -print|xargs grep -l '/usr/local'`; do \ ${SED} -e 's:/usr/local:'${LOCALBASE}':g' < $$f > $$f.pdone && mv $$f.pdone $$f; \ |