aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-03-07 07:21:55 +0800
committerbeech <beech@FreeBSD.org>2013-03-07 07:21:55 +0800
commit4da163f91141910a91549ec2723cfb8dd1ee1772 (patch)
treeebc5eec2f0bd2123b30127d2579db8971ce1d5de /audio
parentd6e5f65551ba251e04cc3daa396264f93bdbcc1b (diff)
downloadfreebsd-ports-gnome-4da163f91141910a91549ec2723cfb8dd1ee1772.tar.gz
freebsd-ports-gnome-4da163f91141910a91549ec2723cfb8dd1ee1772.tar.zst
freebsd-ports-gnome-4da163f91141910a91549ec2723cfb8dd1ee1772.zip
- Fix configure with ffmpeg
- Fix build with clang PR: ports/176592 Submitted by: Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com> Approved by: "Herbert J. Skuhra" <h.skuhra@gmail.com> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r--audio/cmus/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index c32014f168ec..9f91f4f88530 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -16,6 +16,7 @@ USE_ICONV= yes
USE_NCURSES= yes
USE_PKGCONFIG= build
HAS_CONFIGURE= yes
+CONFIGURE_ENV+= HOSTCC=${CC}
CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \
exampledir=${EXAMPLESDIR} \
CONFIG_ALSA=n CONFIG_ROAR=n
@@ -114,9 +115,9 @@ PLIST_SUB+= WAVPACK="@comment "
.endif
.if ${PORT_OPTIONS:MFFMPEG}
-FFMPEG_SUFFIX= -011
-BUILD_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
-RUN_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
+FFMPEG_SUFFIX= 1
+BUILD_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>=1:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
+RUN_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>=1:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
CONFIGURE_ARGS+=CONFIG_FFMPEG=y
PLIST_SUB+= FFMPEG=""
.else