summaryrefslogtreecommitdiff
path: root/x11/tk/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-12-11 16:40:42 +0000
committerjlam <jlam@pkgsrc.org>2000-12-11 16:40:42 +0000
commitf045a27e94a06b33d2be4316c80fb9cccd2bfc55 (patch)
treef5d9b4bfe1b5b3c3b2f6845de8e0915a05e8e0e1 /x11/tk/patches
parent4602068403e80cfa768e8e035f0faf6daaf86d0c (diff)
downloadpkgsrc-f045a27e94a06b33d2be4316c80fb9cccd2bfc55.tar.gz
Honor CFLAGS passed in from environment during build.
Diffstat (limited to 'x11/tk/patches')
-rw-r--r--x11/tk/patches/patch-aa16
1 files changed, 13 insertions, 3 deletions
diff --git a/x11/tk/patches/patch-aa b/x11/tk/patches/patch-aa
index 5df58195a48..8bac842bde7 100644
--- a/x11/tk/patches/patch-aa
+++ b/x11/tk/patches/patch-aa
@@ -1,6 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2000/09/01 16:22:00 jwise Exp $
---- Makefile.in.orig Mon Aug 28 23:29:09 2000
-+++ Makefile.in Mon Aug 28 23:34:09 2000
+$NetBSD: patch-aa,v 1.3 2000/12/11 16:40:43 jlam Exp $
+
+--- Makefile.in.orig Tue Aug 8 15:19:31 2000
++++ Makefile.in
@@ -76,7 +76,7 @@
# The directory containing the Tcl sources and headers appropriate
# for this version of Tk ("srcdir" will be replaced or has already
@@ -10,6 +11,15 @@ $NetBSD: patch-aa,v 1.2 2000/09/01 16:22:00 jwise Exp $
# The directory containing the Tcl library archive file appropriate
# for this version of Tk:
+@@ -100,7 +100,7 @@
+ #CFLAGS = $(CFLAGS_DEBUG)
+ #CFLAGS = $(CFLAGS_OPTIMIZE)
+ #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
+-CFLAGS = @CFLAGS@
++CFLAGS += @CFLAGS@
+
+ # A "-I" switch that can be used when compiling to make all of the
+ # X11 include files accessible (the configure script will try to
@@ -154,8 +154,8 @@
# "install" around; better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.