ports/187018: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sun Mar 2 21:50:01 UTC 2014
The following reply was made to PR ports/187018; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/187018: commit references a PR
Date: Sun, 2 Mar 2014 21:39:30 +0000 (UTC)
Author: kwm
Date: Sun Mar 2 21:39:22 2014
New Revision: 346811
URL: http://svnweb.freebsd.org/changeset/ports/346811
QAT: https://qat.redports.org/buildarchive/r346811/
Log:
Only set -fno-force-addr in CFLAGS when the compiler is gcc. [1]
Fix the build on ppc64 by telling the libav bundled which arch we are on [2]
PR: ports/187018 [1]
ports/183129 [2]
Submitted by: truckman@ [1]
jhibbits@ [2]
Modified:
head/multimedia/gstreamer1-libav/Makefile
Modified: head/multimedia/gstreamer1-libav/Makefile
==============================================================================
--- head/multimedia/gstreamer1-libav/Makefile Sun Mar 2 21:35:56 2014 (r346810)
+++ head/multimedia/gstreamer1-libav/Makefile Sun Mar 2 21:39:22 2014 (r346811)
@@ -21,12 +21,11 @@ USE_XZ= yes
USE_LDCONFIG= yes
USE_GSTREAMER1= yes
GNU_CONFIGURE= yes
-USES= gmake pkgconfig
+USES= compiler:features gmake pkgconfig
LIBAV_CONFIG= --cc=${CC} \
--enable-runtime-cpudetect \
--enable-pic
LDFLAGS+= -Wl,-Bsymbolic
-CFLAGS+= -fno-force-addr
PLIST_SUB= VERSION="1.0"
@@ -57,6 +56,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PO
MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin
.endif
+.if ${ARCH} == powerpc64
+FFMPEG_CONFIG+= --arch=ppc64
+.endif
+
+.if ${COMPILER_TYPE} == "gcc"
+CFLAGS+= -fno-force-addr
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0/libgstlibav.so
_______________________________________________
svn-ports-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-multimedia
mailing list