summaryrefslogtreecommitdiff
path: root/devel/ode
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-27 07:56:33 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-27 07:56:33 +0000
commit3a86e9b495a4ef99ea4287ce00ffb21992a77582 (patch)
tree23e670c81f223370df8fe14ab3306348d6bef866 /devel/ode
parent06ee2d0e552612954f9e8f1daff9965935447ffa (diff)
downloadpkgsrc-3a86e9b495a4ef99ea4287ce00ffb21992a77582.tar.gz
bl3ify
Diffstat (limited to 'devel/ode')
-rw-r--r--devel/ode/Makefile4
-rw-r--r--devel/ode/buildlink2.mk24
-rw-r--r--devel/ode/buildlink3.mk22
3 files changed, 24 insertions, 26 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index 7f9b232fdf9..97a0276355a 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/01/22 08:24:30 grant Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/27 07:56:33 xtraeme Exp $
#
DISTNAME= ode-0.039
@@ -10,7 +10,7 @@ MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://opende.sourceforge.net/
COMMENT= Library for the simulation of Rigid Body Dynamics
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_X11= yes
diff --git a/devel/ode/buildlink2.mk b/devel/ode/buildlink2.mk
deleted file mode 100644
index d703cf35826..00000000000
--- a/devel/ode/buildlink2.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/03 19:00:56 xtraeme Exp $
-#
-# This Makefile fragment is included by packages that use ode.
-#
-# This file was created automatically using createbuildlink 2.7.
-#
-
-.if !defined(ODE_BUILDLINK2_MK)
-ODE_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= ode
-BUILDLINK_DEPENDS.ode?= ode>=0.039
-BUILDLINK_PKGSRCDIR.ode?= ../../devel/ode
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.ode=ode
-BUILDLINK_PREFIX.ode_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.ode+= include/ode/*.h
-BUILDLINK_FILES.ode+= lib/libode.*
-
-BUILDLINK_TARGETS+= ode-buildlink
-
-ode-buildlink: _BUILDLINK_USE
-
-.endif # ODE_BUILDLINK2_MK
diff --git a/devel/ode/buildlink3.mk b/devel/ode/buildlink3.mk
new file mode 100644
index 00000000000..d61f11a7acb
--- /dev/null
+++ b/devel/ode/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/27 07:56:33 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use ode.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ODE_BUILDLINK3_MK:= ${ODE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ode
+.endif
+
+.if !empty(ODE_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= ode
+BUILDLINK_DEPENDS.ode+= ode>=0.039
+BUILDLINK_PKGSRCDIR.ode?= ../../devel/ode
+
+.endif # ODE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}