summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordholland <dholland>2008-08-18 00:28:21 +0000
committerdholland <dholland>2008-08-18 00:28:21 +0000
commit744e49622b3eb4eddb3139d526d8e33778db37db (patch)
tree9c273feef40cf418ef9d8ca38a84b6558ded9344 /math
parenta053f0c854e614ba7dbc55b6a5a31290bf5f3a80 (diff)
downloadpkgsrc-744e49622b3eb4eddb3139d526d8e33778db37db.tar.gz
Use the PIC flag for Fortran that autoconf picks out. Fixes broken
build on amd64 and probably others.
Diffstat (limited to 'math')
-rw-r--r--math/octave/distinfo3
-rw-r--r--math/octave/patches/patch-ak13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/octave/distinfo b/math/octave/distinfo
index cb0f76b83fa..64c27a75d8d 100644
--- a/math/octave/distinfo
+++ b/math/octave/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2008/05/02 08:50:46 adam Exp $
+$NetBSD: distinfo,v 1.16 2008/08/18 00:28:21 dholland Exp $
SHA1 (octave-3.0.1.tar.bz2) = e4cebe74a1182df610d91e45974653227dd4b342
RMD160 (octave-3.0.1.tar.bz2) = 3141454b1e9a8efcac0772aed63c27aaad082861
@@ -13,3 +13,4 @@ SHA1 (patch-ag) = b0a8ce27ba055739f609c56e512a2791c2408d3c
SHA1 (patch-ah) = 240fd27ce0b4b9a18e39851139cecd9c71a0bdcc
SHA1 (patch-ai) = 3010250a18e6b854103d6369015ee2e659bfa186
SHA1 (patch-aj) = 9353f42e2f0d92f5aec524de2b397aa07908c3f8
+SHA1 (patch-ak) = c75507996d566157624621584725b9161358947e
diff --git a/math/octave/patches/patch-ak b/math/octave/patches/patch-ak
new file mode 100644
index 00000000000..143c7a12f61
--- /dev/null
+++ b/math/octave/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.3 2008/08/18 00:28:21 dholland Exp $
+
+--- libcruft/Makerules.in.orig 2008-04-21 12:00:19.000000000 -0400
++++ libcruft/Makerules.in 2008-08-17 18:54:32.000000000 -0400
+@@ -54,6 +54,8 @@
+
+ DISTFILES = $(CRUFT_SRC) $(addprefix $(srcdir)/, Makefile.in $(SPECIAL))
+
++FFLAGS += $(FPICFLAG)
++
+ ifeq ($(SHARED_LIBS), true)
+ ifdef FPICFLAG
+ CRUFT_FPICOBJ := $(addprefix pic/, $(CRUFT_FOBJ))