summaryrefslogtreecommitdiff
path: root/math/glpk/buildlink3.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-03-30 15:23:53 +0000
committeradam <adam@pkgsrc.org>2005-03-30 15:23:53 +0000
commit4ba164c45ff997740e711aa797b7dff0c8a2b453 (patch)
treee8cfcb569dab4e5b5144495e1abb146cfc8804dc /math/glpk/buildlink3.mk
parent92d84756270f88f0c157ed8eac5137cec5f83265 (diff)
downloadpkgsrc-4ba164c45ff997740e711aa797b7dff0c8a2b453.tar.gz
Rev.1: use LIBTOOL and build a shared library
Diffstat (limited to 'math/glpk/buildlink3.mk')
-rw-r--r--math/glpk/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/glpk/buildlink3.mk b/math/glpk/buildlink3.mk
new file mode 100644
index 00000000000..ab1de08d62b
--- /dev/null
+++ b/math/glpk/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/03/30 15:23:53 adam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GLPK_BUILDLINK3_MK:= ${GLPK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= glpk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglpk}
+BUILDLINK_PACKAGES+= glpk
+
+.if !empty(GLPK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.glpk+= glpk>=4.8nb1
+BUILDLINK_PKGSRCDIR.glpk?= ../../math/glpk
+.endif # GLPK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}