diff options
Diffstat (limited to 'net/SDL_net')
-rw-r--r-- | net/SDL_net/Makefile | 8 | ||||
-rw-r--r-- | net/SDL_net/buildlink3.mk | 21 |
2 files changed, 24 insertions, 5 deletions
diff --git a/net/SDL_net/Makefile b/net/SDL_net/Makefile index bc19dfc386b..4ca559bc4ff 100644 --- a/net/SDL_net/Makefile +++ b/net/SDL_net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/07/26 21:41:28 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2004/03/06 17:28:59 xtraeme Exp $ # DISTNAME= SDL_net-1.2.5 @@ -10,13 +10,11 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.libsdl.org/projects/SDL_net/ COMMENT= Small sample cross-platform networking library for SDL -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES - USE_LIBTOOL= YES -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CONFIGURE_ARGS+= --disable-gui -.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/SDL_net/buildlink3.mk b/net/SDL_net/buildlink3.mk new file mode 100644 index 00000000000..9803723e92b --- /dev/null +++ b/net/SDL_net/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 17:28:59 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SDL_NET_BUILDLINK3_MK:= ${SDL_NET_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= SDL_net +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_net} +BUILDLINK_PACKAGES+= SDL_net + +.if !empty(SDL_NET_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.SDL_net+= SDL_net>=1.2.5nb1 +BUILDLINK_PKGSRCDIR.SDL_net?= ../../net/SDL_net + +.include "../../devel/SDL/buildlink3.mk" + +.endif # SDL_NET_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |