pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/SDL_net bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a29191f408e3
branches:  trunk
changeset: 470098:a29191f408e3
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Mar 06 17:28:59 2004 +0000

description:
bl3ify

diffstat:

 net/SDL_net/Makefile      |   8 +++-----
 net/SDL_net/buildlink3.mk |  21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r 12acdc6a8482 -r a29191f408e3 net/SDL_net/Makefile
--- a/net/SDL_net/Makefile      Sat Mar 06 15:11:22 2004 +0000
+++ b/net/SDL_net/Makefile      Sat Mar 06 17:28:59 2004 +0000
@@ -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 @@
 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 -r 12acdc6a8482 -r a29191f408e3 net/SDL_net/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/SDL_net/buildlink3.mk Sat Mar 06 17:28:59 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index