summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-06-14 06:36:50 +0000
committerkei <kei@pkgsrc.org>2001-06-14 06:36:50 +0000
commit707c65edaa7c668fc7f1d458f01bb7273fbf39ab (patch)
treeb95675884a0a2bbe60c8dcabd2c5b009a93a096a /graphics/gd/Makefile
parente75ef2c87de7b8116c606d4a50396cfdd1b943bc (diff)
downloadpkgsrc-707c65edaa7c668fc7f1d458f01bb7273fbf39ab.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"