summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-20 01:47:00 +0000
committerrillig <rillig@pkgsrc.org>2007-01-20 01:47:00 +0000
commitafa8142dba845c5f295300b9e758707eb5e4b6c8 (patch)
treebc180116e80e8a2e84c8ec90b4c4d05126aa8a78
parent0e69d77bdf7761f70c43b60b5fe714c96cd81b80 (diff)
downloadpkgsrc-afa8142dba845c5f295300b9e758707eb5e4b6c8.tar.gz
LOCALBASE should be used instead of PREFIX when referring to existing
files. This allows setting INSTALLATION_PREFIX for the package.
-rw-r--r--cad/tkgate/Makefile4
-rw-r--r--cad/tkgate/distinfo4
-rw-r--r--cad/tkgate/patches/patch-ab4
3 files changed, 6 insertions, 6 deletions
diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile
index 563604c7c99..3a0e56b0033 100644
--- a/cad/tkgate/Makefile
+++ b/cad/tkgate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/04/22 09:22:06 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2007/01/20 01:47:00 rillig Exp $
#
DISTNAME= tkgate-1.6i
@@ -20,7 +20,7 @@ USE_TOOLS+= gm4
TKGATE_SITENAME= Earth
CONFIGURE_ENV+= BUILDLINK_LDFLAGS=${BUILDLINK_LDFLAGS:Q}
-CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
+CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
SUBST_CLASSES+= tkgate
SUBST_MESSAGE.tkgate= Fixing paths in configuration files.
diff --git a/cad/tkgate/distinfo b/cad/tkgate/distinfo
index 168dd2f3382..dde4c992e82 100644
--- a/cad/tkgate/distinfo
+++ b/cad/tkgate/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 14:59:25 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/01/20 01:47:00 rillig Exp $
SHA1 (tkgate-1.6i.tgz) = 6eece2eb4aaa2f45c2b1c68b9c5b79a76b3bb084
RMD160 (tkgate-1.6i.tgz) = 651ac3194c7b2b8dc8fc8fb28d409672586d4f98
Size (tkgate-1.6i.tgz) = 1459011 bytes
SHA1 (patch-aa) = 34f2d3a01acebeacd49401268c2faca80dbd4ef1
-SHA1 (patch-ab) = fc014dff8095b9b62f68075572ca2dd3ba74f120
+SHA1 (patch-ab) = 8c0fb6b4f2e9e4fb7af2621fb6546e4e99ba69e5
diff --git a/cad/tkgate/patches/patch-ab b/cad/tkgate/patches/patch-ab
index bca284369bb..94ffb4ff67f 100644
--- a/cad/tkgate/patches/patch-ab
+++ b/cad/tkgate/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2004/06/08 17:52:22 jmmv Exp $
+$NetBSD: patch-ab,v 1.3 2007/01/20 01:47:00 rillig Exp $
--- configure.orig 2001-06-11 22:44:36.000000000 +0200
+++ configure
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.2 2004/06/08 17:52:22 jmmv Exp $
union LIBS -l$tcl_lib
union LPATH -L$TCLLIB
-+ . ${PREFIX}/lib/tclConfig.sh
++ . ${LOCALBASE}/lib/tclConfig.sh
+ for l in ${TCL_LIBS}; do
+ union LIBS ${l}
+ done