aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-08-09 06:39:25 +0000
committerRene Ladan <rene@FreeBSD.org>2011-08-09 06:39:25 +0000
commit6fc4d28358963276ab4cf648007102b8efa41c9b (patch)
tree6fb472fb042672541f554c50c28c4c604515d17f /multimedia/mplayer
parent91850bdf98dc2a9da79b27601db86e9ff63b7f79 (diff)
downloadports-6fc4d28358963276ab4cf648007102b8efa41c9b.tar.gz
ports-6fc4d28358963276ab4cf648007102b8efa41c9b.zip
Notes
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/files/patch-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-configure b/multimedia/mplayer/files/patch-configure
index d2675dbac8b4..c4549d5f374f 100644
--- a/multimedia/mplayer/files/patch-configure
+++ b/multimedia/mplayer/files/patch-configure
@@ -28,6 +28,15 @@
fi
if netbsd || dragonfly ; then
+@@ -1661,7 +1660,7 @@ else
+ echores "$cc_version"
+ break
+ fi
+- cc_name_tmp=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 1)
++ cc_name_tmp=$($_cc -v 2>&1 | awk "NR == 1 { if(\$1 == \"$system_name\") print \$2; else print \$1 }")
+ if test "$cc_name_tmp" = "clang"; then
+ echocheck "$_cc version"
+ cc_vendor=clang
@@ -3577,22 +3576,10 @@
if linux ; then
THREAD_CFLAGS=-D_REENTRANT