aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libquicktime
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-23 11:50:49 +0800
committerahze <ahze@FreeBSD.org>2005-01-23 11:50:49 +0800
commit4f12ea5806749b1f4085029ca36e60e261d8e48e (patch)
treeca4529fdd8899139fed5094f762b7ecd7865028a /multimedia/libquicktime
parentdf2f7d553d88b141c330e8d26e46eb2f9b2885be (diff)
downloadfreebsd-ports-gnome-4f12ea5806749b1f4085029ca36e60e261d8e48e.tar.gz
freebsd-ports-gnome-4f12ea5806749b1f4085029ca36e60e261d8e48e.tar.zst
freebsd-ports-gnome-4f12ea5806749b1f4085029ca36e60e261d8e48e.zip
Fix plist for lame support
Reported by: pointyhat via kris
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