summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 19:21:43 +0000
committerjlam <jlam>2002-08-25 19:21:43 +0000
commit3d80364aa7d569b8fa9e6f1069f1c94550179218 (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /lang/f2c
parent3bff324aa681cfea59a4a20f4bdd9520a4707593 (diff)
downloadpkgsrc-3d80364aa7d569b8fa9e6f1069f1c94550179218.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'lang/f2c')
-rw-r--r--lang/f2c/Makefile2
-rw-r--r--lang/f2c/buildlink2.mk29
-rw-r--r--lang/f2c/distinfo2
-rw-r--r--lang/f2c/patches/patch-aa2
4 files changed, 32 insertions, 3 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 0ef5902047d..a410bc1f01d 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2002/07/02 14:22:16 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2002/08/25 19:23:02 jlam Exp $
DISTNAME= f2c-20001205
PKGREVISION= 5
diff --git a/lang/f2c/buildlink2.mk b/lang/f2c/buildlink2.mk
new file mode 100644
index 00000000000..37bdc912d28
--- /dev/null
+++ b/lang/f2c/buildlink2.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:02 jlam Exp $
+
+.if !defined(F2C_BUILDLINK2_MK)
+F2C_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= f2c
+BUILDLINK_DEPENDS.f2c?= f2c>=20001205nb3
+BUILDLINK_PKGSRCDIR.f2c?= ../../lang/f2c
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.f2c=f2c
+BUILDLINK_PREFIX.f2c_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.f2c= include/f2c.h
+BUILDLINK_FILES.f2c+= lib/libf2c.*
+BUILDLINK_FILES.f2c+= lib/libf2c_p.a
+BUILDLINK_FILES.f2c+= lib/libf2c_pic.a
+BUILDLINK_FILES.f2c+= lib/libF77.*
+BUILDLINK_FILES.f2c+= lib/libF77_p.a
+BUILDLINK_FILES.f2c+= lib/libF77_pic.a
+BUILDLINK_FILES.f2c+= lib/libI77.*
+BUILDLINK_FILES.f2c+= lib/libI77_p.a
+BUILDLINK_FILES.f2c+= lib/libI77_pic.a
+
+PKG_FC= ${BUILDLINK_PREFIX.f2c}/bin/f2c-f77
+
+BUILDLINK_TARGETS+= f2c-buildlink
+
+f2c-buildlink: _BUILDLINK_USE
+
+.endif # F2C_BUILDLINK2_MK
diff --git a/lang/f2c/distinfo b/lang/f2c/distinfo
index fe5d1d80aac..9481451f85b 100644
--- a/lang/f2c/distinfo
+++ b/lang/f2c/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2002/06/17 04:21:08 dmcmahill Exp $
+$NetBSD: distinfo,v 1.8 2002/08/25 19:23:02 jlam Exp $
SHA1 (f2c-20001205.tar.gz) = f3cc1653eb962fee45d850df50890fc53448a17f
Size (f2c-20001205.tar.gz) = 988607 bytes
diff --git a/lang/f2c/patches/patch-aa b/lang/f2c/patches/patch-aa
index 7ac8c5bab94..126af6db8da 100644
--- a/lang/f2c/patches/patch-aa
+++ b/lang/f2c/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.11 2002/06/17 04:21:09 dmcmahill Exp $
+$NetBSD: patch-aa,v 1.12 2002/08/25 19:23:02 jlam Exp $
Add a top level Makefile