summaryrefslogtreecommitdiff
path: root/lang/f2c/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-06-17 04:21:08 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-06-17 04:21:08 +0000
commite8a657337172d6f452e8d284e3b398ada0c570bc (patch)
tree5a2fde8d3864e092e809d8decec83ca644d5221d /lang/f2c/patches
parent33867ff2f18bfb71ffd870b1334f97021ab39533 (diff)
downloadpkgsrc-e8a657337172d6f452e8d284e3b398ada0c570bc.tar.gz
fix PLIST and build on mipsel machines where all code is PIC so we don't
need to build a _pic lib. fixed PR pkg/16302 submitted by Daniel Senderowicz <daniel@mispibes.SynchroDS.COM>
Diffstat (limited to 'lang/f2c/patches')
-rw-r--r--lang/f2c/patches/patch-aa6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/f2c/patches/patch-aa b/lang/f2c/patches/patch-aa
index f9c2db87b70..7ac8c5bab94 100644
--- a/lang/f2c/patches/patch-aa
+++ b/lang/f2c/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.10 2001/04/18 21:43:18 dmcmahill Exp $
+$NetBSD: patch-aa,v 1.11 2002/06/17 04:21:09 dmcmahill Exp $
Add a top level Makefile
--- /dev/null Thu Apr 5 17:09:09 2001
+++ Makefile Thu Apr 5 18:31:35 2001
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,64 @@
+# Top level Makefile for f2c, libF77, and libI77
+
+all: f2c libf2c/libf2c.a f2c-f77 man
@@ -36,6 +36,8 @@ Add a top level Makefile
+ if [ -f libF77/libF77_pic.a ]; then cd libf2c && ar cruv libf2c_pic.a *.so ; fi
+ if [ -f libF77/libF77_pic.a ]; then cd libf2c && \
+ ld -Bshareable -soname libf2c.so.${F2CMAJOR} -o libf2c.so.${F2CMAJOR}.${F2CMINOR} *.so ; fi
++ if [ "${MACHINE_ARCH}" = "mipsel" ]; then cd libf2c && \
++ ld -Bshareable -soname libf2c.so.${F2CMAJOR} -o libf2c.so.${F2CMAJOR}.${F2CMINOR} *.o ; fi
+
+man: f2c.0
+