summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-04-04 01:24:58 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-04-04 01:24:58 +0000
commite5b54ba7a875fd08eb9860f74153460d46cbacb8 (patch)
treeb1ebd25ba37bbe469df5d09c68e48fc79ac67077 /cad
parent8d467e829738be6d5d7e50fe2f30133ecf9b7ad4 (diff)
downloadpkgsrc-e5b54ba7a875fd08eb9860f74153460d46cbacb8.tar.gz
Obey CFLAGS. In particular this lets the default -O2 for pmax get used
which fixes compile problems noted in PR pkg/16160 by Daniel Senderowicz <daniel@bicho.SynchroDS.COM>. Thanks to Simon Burge for helping on this.
Diffstat (limited to 'cad')
-rw-r--r--cad/ng-spice/distinfo3
-rw-r--r--cad/ng-spice/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo
index ea1a59cbe7e..79a1649ee0a 100644
--- a/cad/ng-spice/distinfo
+++ b/cad/ng-spice/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2002/01/26 02:38:30 dmcmahill Exp $
+$NetBSD: distinfo,v 1.4 2002/04/04 01:25:00 dmcmahill Exp $
SHA1 (ng-spice-rework-14.tar.gz) = 4610d694dc0bacf4828ec480a88b7f89ba1140a0
Size (ng-spice-rework-14.tar.gz) = 2762582 bytes
SHA1 (patch-aa) = c17bac29ddd4e1a682afc34a1216e795bb77eb74
SHA1 (patch-ab) = 2537cf3f4afb96c2e79a4a2e4a7053e1def02a01
SHA1 (patch-ac) = 54d879f5d82b535d4553705d5610e8694353e4cc
+SHA1 (patch-ad) = 5061e4e3366a230600fba9a3f1d44c29bae6b78c
diff --git a/cad/ng-spice/patches/patch-ad b/cad/ng-spice/patches/patch-ad
new file mode 100644
index 00000000000..d3f00df8f66
--- /dev/null
+++ b/cad/ng-spice/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.3 2002/04/04 01:24:58 dmcmahill Exp $
+
+only remove -g not all CFLAGS!!
+
+--- configure.orig Wed Apr 3 03:26:44 2002
++++ configure Wed Apr 3 09:29:20 2002
+@@ -1311,5 +1311,5 @@
+ if test "$enable_debug" = "no"; then
+ echo "configure: warning: Removing debugging option!" 1>&2
+- CFLAGS=" "
++ CFLAGS="`echo $CFLAGS | sed 's;-g;;g'`"
+ fi
+