pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL_ttf bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd78c374ab64
branches:  trunk
changeset: 470100:cd78c374ab64
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Mar 06 17:47:30 2004 +0000

description:
bl3ify

diffstat:

 devel/SDL_ttf/Makefile      |   9 ++++-----
 devel/SDL_ttf/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 27306d194171 -r cd78c374ab64 devel/SDL_ttf/Makefile
--- a/devel/SDL_ttf/Makefile    Sat Mar 06 17:32:11 2004 +0000
+++ b/devel/SDL_ttf/Makefile    Sat Mar 06 17:47:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/07/26 21:41:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/06 17:47:30 xtraeme Exp $
 #
 
 DISTNAME=      SDL_ttf-2.0.3
@@ -10,13 +10,12 @@
 HOMEPAGE=      http://www.libsdl.org/projects/SDL_ttf/
 COMMENT=       Use TrueType fonts in your SDL applications
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_X11=               YES
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
-LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
 
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 27306d194171 -r cd78c374ab64 devel/SDL_ttf/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SDL_ttf/buildlink3.mk       Sat Mar 06 17:47:30 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 17:47:30 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+SDL_TTF_BUILDLINK3_MK:=        ${SDL_TTF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    SDL_ttf
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:NSDL_ttf}
+BUILDLINK_PACKAGES+=   SDL_ttf
+
+.if !empty(SDL_TTF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.SDL_ttf+=    SDL_ttf>=2.0.3nb3
+BUILDLINK_PKGSRCDIR.SDL_ttf?=  ../../devel/SDL_ttf
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+
+.endif # SDL_TTF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index