pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8869cd39fc78
branches:  trunk
changeset: 471661:8869cd39fc78
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Mar 29 20:48:16 2004 +0000

description:
bl3ify

diffstat:

 graphics/libmpeg2/Makefile      |   8 ++++----
 graphics/libmpeg2/buildlink3.mk |  20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 378fb2351ebd -r 8869cd39fc78 graphics/libmpeg2/Makefile
--- a/graphics/libmpeg2/Makefile        Mon Mar 29 20:30:57 2004 +0000
+++ b/graphics/libmpeg2/Makefile        Mon Mar 29 20:48:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/03/18 10:24:40 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/29 20:48:16 xtraeme Exp $
 
 DISTNAME=      mpeg2dec-0.4.0
 PKGNAME=       libmpeg2-0.4.0
@@ -12,13 +12,13 @@
 GNU_CONFIGURE= yes
 USE_GNU_TOOLS+=        make
 USE_LIBTOOL=   yes
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 
 PKGCONFIG_OVERRIDE+=    libmpeg2/convert/libmpeg2convert.pc.in
 PKGCONFIG_OVERRIDE+=    libmpeg2/libmpeg2.pc.in
 
 CONFIGURE_ARGS=        --enable-shared
 
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 378fb2351ebd -r 8869cd39fc78 graphics/libmpeg2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libmpeg2/buildlink3.mk   Mon Mar 29 20:48:16 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/29 20:48:16 xtraeme Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBMPEG2_BUILDLINK3_MK:=       ${LIBMPEG2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libmpeg2
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibmpeg2}
+BUILDLINK_PACKAGES+=   libmpeg2
+
+.if !empty(LIBMPEG2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmpeg2+=   libmpeg2>=0.4.0
+BUILDLINK_PKGSRCDIR.libmpeg2?= ../../graphics/libmpeg2
+.endif # LIBMPEG2_BUILDLINK3_MK
+
+.include "../../devel/SDL/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index