pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/vlc Add flac and faad options



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8edbd886047
branches:  trunk
changeset: 538985:e8edbd886047
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Fri Feb 22 16:53:20 2008 +0000

description:
Add flac and faad options

diffstat:

 multimedia/vlc/buildlink3.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 3542d404506a -r e8edbd886047 multimedia/vlc/buildlink3.mk
--- a/multimedia/vlc/buildlink3.mk      Fri Feb 22 15:53:52 2008 +0000
+++ b/multimedia/vlc/buildlink3.mk      Fri Feb 22 16:53:20 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2008/02/22 15:46:51 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2008/02/22 16:53:20 sborrill Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 VLC_BUILDLINK3_MK:=    ${VLC_BUILDLINK3_MK}+
@@ -16,8 +16,16 @@
 BUILDLINK_PKGSRCDIR.vlc?=      ../../multimedia/vlc
 .endif # VLC_BUILDLINK3_MK
 
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
 .include "../../audio/faad2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mflac)
 .include "../../audio/flac/buildlink3.mk"
+.endif
+
 .include "../../audio/lame/buildlink3.mk"
 .include "../../audio/liba52/buildlink3.mk"
 .include "../../audio/libcddb/buildlink3.mk"



Home | Main Index | Thread Index | Old Index