aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libquicktime
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libquicktime')
-rw-r--r--multimedia/libquicktime/Makefile3
-rw-r--r--multimedia/libquicktime/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile
index dcb95013446b..c78897fce68b 100644
--- a/multimedia/libquicktime/Makefile
+++ b/multimedia/libquicktime/Makefile
@@ -51,6 +51,9 @@ PORTDOCS= codecs.html \
.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+PLIST_SUB+= LAME=""
+.else
+PLIST_SUB+= LAME="@comment "
.endif
.if ${MACHINE_CPU:Mmmx}
diff --git a/multimedia/libquicktime/pkg-plist b/multimedia/libquicktime/pkg-plist
index 49285a2d20c5..398d6c5c4ee8 100644
--- a/multimedia/libquicktime/pkg-plist
+++ b/multimedia/libquicktime/pkg-plist
@@ -22,7 +22,7 @@ lib/libquicktime.so
lib/libquicktime.so.0
lib/libquicktime/lqt_audiocodec.so
lib/libquicktime/lqt_dv.so
-lib/libquicktime/lqt_lame.so
+%%LAME%%lib/libquicktime/lqt_lame.so
lib/libquicktime/lqt_mjpeg.so
lib/libquicktime/lqt_opendivx.so
lib/libquicktime/lqt_png.so