diff options
Diffstat (limited to 'devel/swig/patches')
-rw-r--r-- | devel/swig/patches/patch-aa | 52 | ||||
-rw-r--r-- | devel/swig/patches/patch-ab | 15 |
2 files changed, 67 insertions, 0 deletions
diff --git a/devel/swig/patches/patch-aa b/devel/swig/patches/patch-aa new file mode 100644 index 00000000000..229c6d0294a --- /dev/null +++ b/devel/swig/patches/patch-aa @@ -0,0 +1,52 @@ +$NetBSD: patch-aa,v 1.1 2006/01/12 17:35:15 wiz Exp $ + +--- Source/Makefile.in.orig 2004-12-14 16:50:02.000000000 -0500 ++++ Source/Makefile.in +@@ -433,47 +433,7 @@ all: $(BUILT_SOURCES) + + .SUFFIXES: + .SUFFIXES: .c .cxx .o .obj .y +-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) +- @for dep in $?; do \ +- case '$(am__configure_deps)' in \ +- *$$dep*) \ +- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ +- && exit 0; \ +- exit 1;; \ +- esac; \ +- done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Source/Makefile'; \ +- cd $(top_srcdir) && \ +- $(AUTOMAKE) --foreign Source/Makefile + .PRECIOUS: Makefile +-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +- @case '$?' in \ +- *config.status*) \ +- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ +- *) \ +- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ +- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ +- esac; +- +-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) +- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +- +-$(top_srcdir)/configure: $(am__configure_deps) +- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(ACLOCAL_M4): $(am__aclocal_m4_deps) +- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-install-binPROGRAMS: $(bin_PROGRAMS) +- @$(NORMAL_INSTALL) +- test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" +- @list='$(bin_PROGRAMS)'; for p in $$list; do \ +- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ +- if test -f $$p \ +- ; then \ +- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ +- else :; fi; \ +- done + + uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) 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; \ |