mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
71ed9f76bb
- Reduce the number of dependencies (use internal ffmpeg whenever possible) in mplayer - Do not build with clang on i386 - Use new options framework PR: 177083 Submitted by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
23 lines
819 B
Plaintext
23 lines
819 B
Plaintext
--- configure.orig 2013-03-10 17:43:53.684182000 +0100
|
|
+++ configure 2013-03-10 17:47:47.157190568 +0100
|
|
@@ -1614,7 +1614,7 @@
|
|
if $_cc -v 2>&1 | grep -q "clang"; then
|
|
echocheck "$_cc version"
|
|
cc_vendor=clang
|
|
- cc_version=$($_cc -dumpversion 2>&1)
|
|
+ cc_version=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 4)
|
|
res_comment="experimental support only"
|
|
echores "clang $cc_version"
|
|
break
|
|
--- Makefile.orig 2013-03-10 17:44:21.865184000 +0100
|
|
+++ Makefile 2013-03-10 17:47:47.248184374 +0100
|
|
@@ -792,7 +792,7 @@
|
|
|
|
# rebuild version.h each time the working copy is updated
|
|
version.h: version.sh $(wildcard .svn/entries .git/logs/HEAD)
|
|
- ./$< `$(CC) -dumpversion`
|
|
+ ./$< `$(CC) -v 2>&1 | head -n 1 | cut -d ' ' -f 4`
|
|
|
|
%$(EXESUF): %.c
|
|
$(CC) $(CC_DEPFLAGS) $(CFLAGS) -o $@ $^
|