summaryrefslogtreecommitdiff
path: root/cad/xcircuit/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cad/xcircuit/patches/patch-ab')
-rw-r--r--cad/xcircuit/patches/patch-ab24
1 files changed, 15 insertions, 9 deletions
diff --git a/cad/xcircuit/patches/patch-ab b/cad/xcircuit/patches/patch-ab
index ab129b4cf53..a2c8f0c9254 100644
--- a/cad/xcircuit/patches/patch-ab
+++ b/cad/xcircuit/patches/patch-ab
@@ -1,11 +1,17 @@
-$NetBSD: patch-ab,v 1.2 2001/01/19 23:24:34 jtb Exp $
+$NetBSD: patch-ab,v 1.3 2003/07/10 08:03:58 jtb Exp $
---- Xw/Imakefile.orig Thu Aug 3 20:10:52 2000
-+++ Xw/Imakefile
-@@ -1,5 +1,5 @@
- # Compile flags
--CC = cc
-+#CC = cc
- # If you wish to compile with gcc:
- #CC = gcc
+--- configure.orig
++++ configure
+@@ -7989,9 +7989,9 @@
+
+
+ if test "$test_ok" = yes; then
+- SHLIB_CFLAGS="-fpic"
+- SHLIB_LD="ld"
+- LDDL_FLAGS="-Bshareable -x ${LIB_SPEC}"
++ SHLIB_CFLAGS="-fPIC"
++ SHLIB_LD=$CC
++ LDDL_FLAGS="-shared"
+ fi
+ ;;