diff options
author | xtraeme <xtraeme> | 2004-04-11 16:27:37 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-04-11 16:27:37 +0000 |
commit | 96b2b7d815d5609e6a7022206eb0d09044fc9c89 (patch) | |
tree | a0ed56b82dc5aa38eadcd7ce52e06dda85017243 /audio/libcdaudio | |
parent | 7327ea166a2685d29c8e7d972cd56d77cc260a80 (diff) | |
download | pkgsrc-96b2b7d815d5609e6a7022206eb0d09044fc9c89.tar.gz |
bl3ify, add missing pkgconfig bl3.mk.
Diffstat (limited to 'audio/libcdaudio')
-rw-r--r-- | audio/libcdaudio/Makefile | 5 | ||||
-rw-r--r-- | audio/libcdaudio/buildlink3.mk | 19 |
2 files changed, 22 insertions, 2 deletions
diff --git a/audio/libcdaudio/Makefile b/audio/libcdaudio/Makefile index c3aa2d37bb6..8ae5a0f04b0 100644 --- a/audio/libcdaudio/Makefile +++ b/audio/libcdaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/04/08 14:12:50 drochner Exp $ +# $NetBSD: Makefile,v 1.20 2004/04/11 16:27:37 xtraeme Exp $ # DISTNAME= libcdaudio-0.99.10 @@ -9,9 +9,10 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://libcdaudio.sourceforge.net/ COMMENT= Multi-platform CD player development library -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES PKGCONFIG_OVERRIDE= libcdaudio.pc.in +.include "../../devel/pkgconfig/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/libcdaudio/buildlink3.mk b/audio/libcdaudio/buildlink3.mk new file mode 100644 index 00000000000..12a93ca9ad1 --- /dev/null +++ b/audio/libcdaudio/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 16:27:37 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBCDAUDIO_BUILDLINK3_MK:= ${LIBCDAUDIO_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libcdaudio +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcdaudio} +BUILDLINK_PACKAGES+= libcdaudio + +.if !empty(LIBCDAUDIO_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libcdaudio+= libcdaudio>=0.99.4nb1 +BUILDLINK_PKGSRCDIR.libcdaudio?= ../../audio/libcdaudio +.endif # LIBCDAUDIO_BUILDLINK3_MK + + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |