summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
diff options
context:
space:
mode:
authorkei <kei>2001-06-14 06:36:50 +0000
committerkei <kei>2001-06-14 06:36:50 +0000
commitc7b6667f71761cd79373c914444f26638fcddf85 (patch)
treeb95675884a0a2bbe60c8dcabd2c5b009a93a096a /graphics/gd/Makefile
parentf6855d237860cfb65549fc3e865b3c8a62929f86 (diff)
downloadpkgsrc-c7b6667f71761cd79373c914444f26638fcddf85.tar.gz
added support to fix the path to perl.
It seems that we need more generic way to replace the symbols (e.g. paths) in the various files.
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r--graphics/gd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index b75052280a9..7337d64c69a 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2001/06/11 06:34:35 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2001/06/14 06:36:50 kei Exp $
# FreeBSD Id: Makefile,v 1.2 1997/02/14 07:55:45 asami Exp
#
@@ -42,4 +42,9 @@ CPPFLAGS+= -I${LOCALBASE}/include # png.h
CPPFLAGS+= -I${XPMDIR}/include -I${XPMDIR}/include/X11 # xpm.h
CPPFLAGS+= -I${X11BASE}/include
+post-patch:
+ cd ${WRKSRC}; \
+ ${MV} bdftogd bdftogd.orig; \
+ ${SED} -e 's_@PREFIX@_${PREFIX}_' bdftogd.orig > bdftogd
+
.include "../../mk/bsd.pkg.mk"