summaryrefslogtreecommitdiff
path: root/graphics/g2/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-03 23:11:15 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-03 23:11:15 +0000
commit775ac219efe93bce5263635b34bfbdac51fffd24 (patch)
treeeb337fe1cfa07e4af9a22f748ee53fc3c96e10b3 /graphics/g2/patches
parentdf6840c6e2bedc7e4a611088b8d4a6ba9dd5a6cd (diff)
downloadpkgsrc-775ac219efe93bce5263635b34bfbdac51fffd24.tar.gz
DESTDIR support
Diffstat (limited to 'graphics/g2/patches')
-rw-r--r--graphics/g2/patches/patch-ab17
1 files changed, 14 insertions, 3 deletions
diff --git a/graphics/g2/patches/patch-ab b/graphics/g2/patches/patch-ab
index 54144a40f7e..9ee9939fe02 100644
--- a/graphics/g2/patches/patch-ab
+++ b/graphics/g2/patches/patch-ab
@@ -1,7 +1,18 @@
-$NetBSD: patch-ab,v 1.3 2006/10/04 22:22:37 rillig Exp $
+$NetBSD: patch-ab,v 1.4 2010/02/03 23:21:08 joerg Exp $
---- Makefile.in.orig 2004-03-01 00:47:46.000000000 +0100
-+++ Makefile.in 2006-10-05 00:19:32.000000000 +0200
+--- Makefile.in.orig 2004-02-29 23:47:46.000000000 +0000
++++ Makefile.in
+@@ -9,8 +9,8 @@ G2_VERSION = 0.50
+ #
+ # g2 installation directories
+ #
+-LIBDIR = @prefix@/lib
+-INCDIR = @prefix@/include
++LIBDIR = ${DESTDIR}@prefix@/lib
++INCDIR = ${DESTDIR}@prefix@/include
+
+ #LIBDIR = $(HOME)/local/lib
+ #INCDIR = $(HOME)/local/include
@@ -66,30 +66,22 @@ OBJ = $(SRC:.c=.o)
INS = $(BASE_INS) $(PS_INS) $(X11_INS) $(WIN32_INS) $(GD_INS)