summaryrefslogtreecommitdiff
path: root/multimedia/libdvdcss
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-05 17:57:32 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-05 17:57:32 +0000
commit5195c2f8ff8704fe5dbad6972d534976417caffe (patch)
tree7e330761fbac53c87676fc3bf1ab43a4fc97de51 /multimedia/libdvdcss
parent5104a7972284b70d6647ea553ef34fc505fe6f3e (diff)
downloadpkgsrc-5195c2f8ff8704fe5dbad6972d534976417caffe.tar.gz
bl3ify, needed for multimedia/vlc; pointed out by Thomas Klausner.
Diffstat (limited to 'multimedia/libdvdcss')
-rw-r--r--multimedia/libdvdcss/Makefile4
-rw-r--r--multimedia/libdvdcss/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 11c68f9cab1..1bd2b4c9517 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/02/14 17:21:45 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/05 17:57:32 xtraeme Exp $
#
# Unfortunately, some reading of the United States law (DMCA) means
# that we are not able to provide pointers to the source or homepage
@@ -24,7 +24,7 @@ NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
diff --git a/multimedia/libdvdcss/buildlink3.mk b/multimedia/libdvdcss/buildlink3.mk
new file mode 100644
index 00000000000..dd2e37bdf1e
--- /dev/null
+++ b/multimedia/libdvdcss/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/05 17:57:32 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBDVDCSS_BUILDLINK3_MK:= ${LIBDVDCSS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libdvdcss
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdcss}
+BUILDLINK_PACKAGES+= libdvdcss
+
+.if !empty(LIBDVDCSS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libdvdcss+= libdvdcss>=1.2.4
+BUILDLINK_PKGSRCDIR.libdvdcss?= ../../multimedia/libdvdcss
+.endif # LIBDVDCSS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}