aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2022-03-27 12:03:47 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2022-03-27 12:03:47 +0000
commit6f07c5e3e9a5dc55d32821744d58264e815f6c10 (patch)
treede7040c6fd3a4dea2974800839a762e8c812138e /audio
parentb4a11925c801dc2a88ee955487fc9c652e6bc39a (diff)
downloadports-6f07c5e3e9a5dc55d32821744d58264e815f6c10.tar.gz
ports-6f07c5e3e9a5dc55d32821744d58264e815f6c10.zip
audio/lame: add option to depend on libsndfile
Defaults to off. PR: 251985
Diffstat (limited to 'audio')
-rw-r--r--audio/lame/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 3c49c401b284..28e5ab88ca6a 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -2,7 +2,7 @@
PORTNAME= lame
PORTVERSION= 3.100
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.100
@@ -20,7 +20,12 @@ CPE_VENDOR= lame_project
DOC_FILES= API LICENSE README TODO USAGE
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS SNDFILE
+OPTIONS_DEFAULT=DOCS
+
+SNDFILE_CONFIGURE_ON= --with-fileio=sndfile
+SNDFILE_CONFIGURE_OFF= --with-fileio=lame
+SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
.include <bsd.port.pre.mk>