summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkei <kei>2001-06-14 06:36:50 +0000
committerkei <kei>2001-06-14 06:36:50 +0000
commit20e1901ad18f0b7c12ebc696143e1d11eed5f30e (patch)
treeb95675884a0a2bbe60c8dcabd2c5b009a93a096a
parenteb70247d021d9c8977242497dd502c3321f9d6fe (diff)
downloadpkgsrc-20e1901ad18f0b7c12ebc696143e1d11eed5f30e.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.
-rw-r--r--graphics/gd/Makefile7
-rw-r--r--graphics/gd/distinfo3
-rw-r--r--graphics/gd/patches/patch-ac10
3 files changed, 18 insertions, 2 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"
diff --git a/graphics/gd/distinfo b/graphics/gd/distinfo
index e970f252e55..7b7b5f295ac 100644
--- a/graphics/gd/distinfo
+++ b/graphics/gd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 09:54:12 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/06/14 06:36:50 kei Exp $
SHA1 (gd-1.8.3.tar.gz) = a0a40813a2a516be35f464a76f7e15af238b45e1
Size (gd-1.8.3.tar.gz) = 274318 bytes
SHA1 (patch-aa) = f80e7519bbc30125a63598ee98443664f685ac6c
SHA1 (patch-ab) = a00035b1d8a2c9f2f705778c7d3d3ccd5f8e9a5e
+SHA1 (patch-ac) = 004fda3229d752287b177220bf0704251bea2357
diff --git a/graphics/gd/patches/patch-ac b/graphics/gd/patches/patch-ac
new file mode 100644
index 00000000000..940727f9f26
--- /dev/null
+++ b/graphics/gd/patches/patch-ac
@@ -0,0 +1,10 @@
+$NetBSD: patch-ac,v 1.1 2001/06/14 06:36:50 kei Exp $
+
+--- bdftogd.orig Thu Jun 14 14:46:54 2001
++++ bdftogd Thu Jun 14 14:49:18 2001
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!@PREFIX@/bin/perl -w
+
+ #
+ # Simple convertor from bdf to gd font format.