diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-03-29 20:48:16 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-03-29 20:48:16 +0000 |
commit | 014af6a46785f2c91211d6604d13dfe9ccbb147f (patch) | |
tree | 9c44ed6e7acbb15ee224ad722fe5c6ff4ec7dc58 /graphics | |
parent | 7a4dd9899d9325dbcc135fef5f703d622ed0399d (diff) | |
download | pkgsrc-014af6a46785f2c91211d6604d13dfe9ccbb147f.tar.gz |
bl3ify
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libmpeg2/Makefile | 8 | ||||
-rw-r--r-- | graphics/libmpeg2/buildlink3.mk | 20 |
2 files changed, 24 insertions, 4 deletions
diff --git a/graphics/libmpeg2/Makefile b/graphics/libmpeg2/Makefile index 0aeb429bed8..96ebf7a6eb9 100644 --- a/graphics/libmpeg2/Makefile +++ b/graphics/libmpeg2/Makefile @@ -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 @@ COMMENT= Library for decoding mpeg-2 and mpeg-1 video streams 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 --git a/graphics/libmpeg2/buildlink3.mk b/graphics/libmpeg2/buildlink3.mk new file mode 100644 index 00000000000..b0ca1629e28 --- /dev/null +++ b/graphics/libmpeg2/buildlink3.mk @@ -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/+$//} |