summaryrefslogtreecommitdiff
path: root/devel/swig/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/swig/patches/patch-ab')
-rw-r--r--devel/swig/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/swig/patches/patch-ab b/devel/swig/patches/patch-ab
new file mode 100644
index 00000000000..ad49224960b
--- /dev/null
+++ b/devel/swig/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2006/01/12 17:35:15 wiz Exp $
+
+--- Makefile.in.orig 2004-10-11 03:09:24.000000000 -0500
++++ Makefile.in
+@@ -332,8 +332,8 @@ install-lib:
+ echo "Installing language specific files for $$lang"; \
+ dst=$(DESTDIR)$(SWIG_LIB)/$$lang; \
+ $(MKINSTDIRS) $$dst; \
+- (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`"; \
+- dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`"; \
++ (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`" || doti=""; \
++ dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`" || dotswg=""; \
+ if [ -f $(srcdir)/Lib/$$lang/extra-install.list ]; then \
+ extra="`sed '/^#/d' $(srcdir)/Lib/$$lang/extra-install.list`"; \
+ fi; \