pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libggi bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c5ce9ce3834
branches:  trunk
changeset: 473140:7c5ce9ce3834
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Apr 16 17:39:32 2004 +0000

description:
bl3ify

diffstat:

 graphics/libggi/Makefile      |   8 ++++----
 graphics/libggi/buildlink3.mk |  23 +++++++++++++++++++++++
 2 files changed, 27 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r 77616f84e56a -r 7c5ce9ce3834 graphics/libggi/Makefile
--- a/graphics/libggi/Makefile  Fri Apr 16 17:35:20 2004 +0000
+++ b/graphics/libggi/Makefile  Fri Apr 16 17:39:32 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2004/02/14 17:21:42 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2004/04/16 17:39:32 xtraeme Exp $
 #
 
 DISTNAME=      libggi-2.0.4.src
@@ -14,7 +14,7 @@
 COMMENT=       General Graphics Interface library is a flexible drawing library
 
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
-USE_BUILDLINK2=                yes
+USE_BUILDLINK3=                yes
 USE_PKGINSTALL=                yes
 USE_X11=               yes
 USE_LIBTOOL=           yes
@@ -41,7 +41,7 @@
 PLIST_SRC+=             ${PKGDIR}/PLIST
 .endif
 
-.include "../../devel/ncurses/buildlink2.mk"
-.include "../../graphics/libgii/buildlink2.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../graphics/libgii/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 77616f84e56a -r 7c5ce9ce3834 graphics/libggi/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libggi/buildlink3.mk     Fri Apr 16 17:39:32 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/16 17:39:32 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBGGI_BUILDLINK3_MK:= ${LIBGGI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libggi
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibggi}
+BUILDLINK_PACKAGES+=   libggi
+
+.if !empty(LIBGGI_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libggi+=     libggi>=2.0.4
+BUILDLINK_PKGSRCDIR.libggi?=   ../../graphics/libggi
+.endif # LIBGGI_BUILDLINK3_MK
+
+USE_X11=    yes
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../graphics/libgii/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index