misc/119593: [patch][multimedia/mplayer] allow building with distcc
and ccache
Dominic Fandrey
lon_kamikaze at gmx.de
Sat Jan 12 05:10:02 PST 2008
>Number: 119593
>Category: misc
>Synopsis: [patch][multimedia/mplayer] allow building with distcc and ccache
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 12 13:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dominic Fandrey
>Release: RELENG_7
>Organization:
private
>Environment:
FreeBSD homeKamikaze.norad 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 15:44:56 CET 2007 root at homeKamikaze.norad:/usr/obj/VECTRA-7/i386/usr/src/sys/VECTRA-7 i386
>Description:
The port sets CC in a fashion that is not space safe, so if CC is defined with distcc and or ccache the mplayer configure script will fall back to the default.
The patch removes the faulty lines and so lets configure get CC an AR through the environment, which supplies the correct values due to the usual bsd.port.mk magic.
>How-To-Repeat:
# cd /usr/ports/mplayer
# make CC="ccache distcc cc"
>Fix:
diff -Pur multimedia/mplayer.orig/Makefile.shared multimedia/mplayer/Makefile.shared
--- multimedia/mplayer.orig/Makefile.shared 2008-01-12 12:35:12.000000000 +0100
+++ multimedia/mplayer/Makefile.shared 2008-01-12 12:58:46.000000000 +0100
@@ -29,9 +29,7 @@
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS} \
TMPDIR="${WRKSRC}"
-CONFIGURE_ARGS= --cc=${CC} \
- --as=${AS} \
- --enable-png \
+CONFIGURE_ARGS= --enable-png \
--enable-menu \
--disable-faad-external \
--disable-vidix-external \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list