summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-08-18 01:47:31 +0000
committerdholland <dholland@pkgsrc.org>2008-08-18 01:47:31 +0000
commitd7e204d8ba23513551eb7e31314537dbd3a93c6a (patch)
tree6f70bed25076cabe3e3b1098b1aeb40cc7f3cb77
parent1fc94600b0fb2255cc7847f967bb85a4315e4d75 (diff)
downloadpkgsrc-d7e204d8ba23513551eb7e31314537dbd3a93c6a.tar.gz
Use the PIC flag for Fortran that autoconf picks out. Fixes broken
build on amd64 and probably others.
-rw-r--r--math/octave-current/distinfo3
-rw-r--r--math/octave-current/patches/patch-ak13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/octave-current/distinfo b/math/octave-current/distinfo
index 19c7e86a5e4..6fa19b43a9c 100644
--- a/math/octave-current/distinfo
+++ b/math/octave-current/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.39 2007/12/29 11:09:26 adam Exp $
+$NetBSD: distinfo,v 1.40 2008/08/18 01:47:31 dholland Exp $
SHA1 (octave-2.9.19.tar.bz2) = 1cee64ccbcce0aca2b771175fcfbca817c9ba705
RMD160 (octave-2.9.19.tar.bz2) = c0f7d7b384f3e2f51cdb7ee0360d4ddf52e4493a
@@ -13,3 +13,4 @@ SHA1 (patch-ag) = 824c9e56172c836a71442012a1e6ffbc9f8de723
SHA1 (patch-ah) = 240fd27ce0b4b9a18e39851139cecd9c71a0bdcc
SHA1 (patch-ai) = aa1dbef826fcd2bf0066db7fca4e0ea077b07268
SHA1 (patch-aj) = 9353f42e2f0d92f5aec524de2b397aa07908c3f8
+SHA1 (patch-ak) = eaac7d3ddbd10ac539280f3f740242c4d7b19c07
diff --git a/math/octave-current/patches/patch-ak b/math/octave-current/patches/patch-ak
new file mode 100644
index 00000000000..dde09ca60fc
--- /dev/null
+++ b/math/octave-current/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.5 2008/08/18 01:47:31 dholland Exp $
+
+--- libcruft/Makerules.in.orig 2007-10-12 17:27:12.000000000 -0400
++++ libcruft/Makerules.in 2008-08-17 20:37:09.000000000 -0400
+@@ -54,6 +54,8 @@ CRUFT_DEFS = $(CRUFT_FDEFS) $(CRUFT_CDEF
+
+ DISTFILES = $(CRUFT_SRC) $(addprefix $(srcdir)/, Makefile.in $(SPECIAL))
+
++FFLAGS += $(FPICFLAG)
++
+ ifeq ($(SHARED_LIBS), true)
+ ifdef FPICFLAG
+ CRUFT_FPICOBJ := $(addprefix pic/, $(CRUFT_FOBJ))