summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-04-28 09:04:57 +0000
committerwennmach <wennmach@pkgsrc.org>2000-04-28 09:04:57 +0000
commit1261e4049bdf9fdc54695046c80ef9f4675639b2 (patch)
treee2f640a8d508549c76a68620b5b59fb0c64b2a9b /math
parent602dcdc429efc2bdddba0f067ee34344ba9abd35 (diff)
downloadpkgsrc-1261e4049bdf9fdc54695046c80ef9f4675639b2.tar.gz
This patch works around the problem that "make" requires root
privileges while building kpathsea.
Diffstat (limited to 'math')
-rw-r--r--math/octave/patches/patch-ag20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/octave/patches/patch-ag b/math/octave/patches/patch-ag
new file mode 100644
index 00000000000..f980f77a8b3
--- /dev/null
+++ b/math/octave/patches/patch-ag
@@ -0,0 +1,20 @@
+$NetBSD: patch-ag,v 1.1 2000/04/28 09:04:57 wennmach Exp $
+--- kpathsea/Makefile.in.orig Thu Apr 27 10:05:26 2000
++++ kpathsea/Makefile.in Thu Apr 27 10:08:11 2000
+@@ -148,6 +148,7 @@
+ INSTALL_SCRIPT = $(INSTALL_PROGRAM)
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_LIBTOOL_LIBS = INSTALL_DATA='$(INSTALL_DATA)' $(LIBTOOL) install-lib
++INSTALL_LIBTOOL_THISLIB = INSTALL_DATA='$(INSTALL)' $(LIBTOOL) install-lib
+ INSTALL_LIBTOOL_PROG = INSTALL_PROGRAM='$(INSTALL_PROGRAM)' $(LIBTOOL) install-prog
+
+ # Creating (symbolic) links.
+@@ -253,7 +254,7 @@
+
+ $(kpathsea): $(objects) klibtool.version
+ $(LIBTOOL) archive $(AR) $(ARFLAGS) $@ $(objects)
+- $(INSTALL_LIBTOOL_LIBS) . lib$(library).la
++ $(INSTALL_LIBTOOL_THISLIB) . lib$(library).la
+
+ # All the objects depend on the klibtool configuration file.
+ $(objects): klibtool.config