summaryrefslogtreecommitdiff
path: root/devel/SDLmm
diff options
context:
space:
mode:
authorsnj <snj>2004-03-06 23:19:38 +0000
committersnj <snj>2004-03-06 23:19:38 +0000
commit6e56b654d78ccc8fbb69428c237812ab984fbd38 (patch)
treec78be6ce8e5fc9fb9364a632f917fc6204441a74 /devel/SDLmm
parent24fdd927f069c869d69d6299fcfcc11b78ce9607 (diff)
downloadpkgsrc-6e56b654d78ccc8fbb69428c237812ab984fbd38.tar.gz
bl3ify.
Diffstat (limited to 'devel/SDLmm')
-rw-r--r--devel/SDLmm/Makefile6
-rw-r--r--devel/SDLmm/buildlink3.mk21
2 files changed, 24 insertions, 3 deletions
diff --git a/devel/SDLmm/Makefile b/devel/SDLmm/Makefile
index 397e7ed5d85..99a7787b692 100644
--- a/devel/SDLmm/Makefile
+++ b/devel/SDLmm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/02/14 17:21:36 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2004/03/06 23:19:38 snj Exp $
#
DISTNAME= SDLmm-0.1.8
@@ -10,9 +10,9 @@ MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://sdlmm.sourceforge.net/
COMMENT= C++ Wrapper for the Simple DirectMedia Layer
-USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
-.include "../../devel/SDL/buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDLmm/buildlink3.mk b/devel/SDLmm/buildlink3.mk
new file mode 100644
index 00000000000..5c19f4b2f5f
--- /dev/null
+++ b/devel/SDLmm/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 23:19:38 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDLMM_BUILDLINK3_MK:= ${SDLMM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= SDLmm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDLmm}
+BUILDLINK_PACKAGES+= SDLmm
+
+.if !empty(SDLMM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.SDLmm+= SDLmm>=0.1.8nb1
+BUILDLINK_PKGSRCDIR.SDLmm?= ../../devel/SDLmm
+
+.include "../../devel/SDL/buildlink3.mk"
+
+.endif # SDLMM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}