summaryrefslogtreecommitdiff
path: root/audio/faac
diff options
context:
space:
mode:
authorhira <hira>2005-12-11 11:09:06 +0000
committerhira <hira>2005-12-11 11:09:06 +0000
commit730d3f074ae9129eacbcde6b741cb7618470897b (patch)
tree6ab321f3a8daab3756511d4ad886d5ddd4fc1f39 /audio/faac
parent7b5024888fb487379d5d35b2c5d9966b95736f5f (diff)
downloadpkgsrc-730d3f074ae9129eacbcde6b741cb7618470897b.tar.gz
Add MP4 encoding support by audio/faad2 (with options.mk).
It's disabled by default.
Diffstat (limited to 'audio/faac')
-rw-r--r--audio/faac/Makefile4
-rw-r--r--audio/faac/options.mk11
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 6b7c6fabb57..d0df6568d80 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 20:07:59 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/11 11:09:06 hira Exp $
#
DISTNAME= faac-1.24
@@ -22,4 +22,6 @@ pre-configure:
${LIBTOOLIZE} --automake; \
aclocal; autoheader; automake -a --foreign -i; autoconf
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/faac/options.mk b/audio/faac/options.mk
new file mode 100644
index 00000000000..592f06f0c0e
--- /dev/null
+++ b/audio/faac/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2005/12/11 11:09:06 hira Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.faac
+PKG_SUPPORTED_OPTIONS= faad
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
+. include "../../audio/faad2/buildlink3.mk"
+.endif