summaryrefslogtreecommitdiff
path: root/math/cassowary/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'math/cassowary/patches/patch-ad')
-rw-r--r--math/cassowary/patches/patch-ad18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/cassowary/patches/patch-ad b/math/cassowary/patches/patch-ad
new file mode 100644
index 00000000000..436a251208a
--- /dev/null
+++ b/math/cassowary/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.4 2002/12/27 02:17:58 jschauma Exp $
+
+--- guile/Makefile.in.orig Thu Dec 26 20:33:22 2002
++++ guile/Makefile.in Thu Dec 26 20:34:03 2002
+@@ -610,11 +610,11 @@
+ # just use `make CC=g++' and the revised guile-snarf which uses ${CC} will work
+ # for C++ prototype extraction
+ %.x: %.c
+- guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
++ guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) > $@
+
+ %.x: %.cc
+ CC=$(CXX) \
+- guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $< > $@
++ guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) > $@
+
+ test:
+ env GUILE_LOAD_PATH=.:$$GUILE_LOAD_PATH guile -s cltests.scm