summaryrefslogtreecommitdiff
path: root/cad/ng-spice/patches
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/ng-spice/patches
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/ng-spice/patches')
-rw-r--r--cad/ng-spice/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
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
+