summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-04-28 09:04:57 +0000
committerwennmach <wennmach>2000-04-28 09:04:57 +0000
commit8d1008edc107e53a5fcfcf0ec21b60dc5f92ec86 (patch)
treee2f640a8d508549c76a68620b5b59fb0c64b2a9b /math
parentb1e20dcd636752e29bcefce37c7c896f2c8d0ea4 (diff)
downloadpkgsrc-8d1008edc107e53a5fcfcf0ec21b60dc5f92ec86.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