summaryrefslogtreecommitdiff
path: root/lang/f2c/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-04-09 01:44:38 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-04-09 01:44:38 +0000
commit6ac2a4f06b3558037a630b02a129d41e49566435 (patch)
treea6768aef6ac6ea68dc2b9c612a98769d30d749e7 /lang/f2c/Makefile
parent5ed9c57afbe5912aca0c8245486c885153a51bf1 (diff)
downloadpkgsrc-6ac2a4f06b3558037a630b02a129d41e49566435.tar.gz
-fix the combined f2c library. problem noted by Jason Beegan
- enable the -N option to the f2c-f77. Allows increasing some runtime table sizes in the f2c compiler.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r--lang/f2c/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 179ea55b4bf..8dffd6075a8 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2001/04/07 12:43:47 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.13 2001/04/09 01:44:38 dmcmahill Exp $
DISTNAME= f2c-20001205
-PKGNAME= f2c-20001205nb1
+PKGNAME= f2c-20001205nb2
WRKSRC= ${WRKDIR}/f2c
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -49,4 +49,16 @@ post-patch:
@${ECHO} "major=${F2CMAJOR}" > ${WRKSRC}/libI77/shlib_version
@${ECHO} "minor=${F2CMINOR}" >> ${WRKSRC}/libI77/shlib_version
+# for OBJECT_FMT
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OBJECT_FMT} == "ELF")
+post-install:
+ ${LN} -fs ${PREFIX}/lib/libf2c.so.${F2CMAJOR}.${F2CMINOR} \
+ ${PREFIX}/lib/libf2c.so.${F2CMAJOR}
+ ${LN} -fs ${PREFIX}/lib/libf2c.so.${F2CMAJOR}.${F2CMINOR} \
+ ${PREFIX}/lib/libf2c.so
+
+.endif
+
.include "../../mk/bsd.pkg.mk"