ports/171249: multimedia/mplayer: build error if OSVERSION >=900033 and world is built WITHOUT_CLANG
Herbert J. Skuhra
h.skuhra at gmail.com
Sun Sep 2 12:30:13 UTC 2012
>Number: 171249
>Category: ports
>Synopsis: multimedia/mplayer: build error if OSVERSION >=900033 and world is built WITHOUT_CLANG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 02 12:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Herbert J. Skuhra
>Release: FreeBSD 9.1-PRERELEASE i386
>Organization:
>Environment:
FreeBSD oslo.ath.cx 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r239375: Sun Aug 19 00:39:37 CEST 2012 herbert at oslo.ath.cx:/usr/obj/usr/src/sys/PC1 i386
>Description:
The build of multimedia/mplayer fails if OSVERSION >=900033 and clang is not installed (world built WITHOUT_CLANG):
Checking for clang version ... clang ./configure: clang: not found (experimental support only)
Checking for working compiler ...
Error: Compiler is not functioning correctly. Check your installation and custom CFLAGS -O2 -pipe -O3 -fomit-frame-pointer -ffast-math -I/usr/local/live/liveMedia/include -I/usr/local/live/BasicUsageEnvironment/include -I/usr/local/live/UsageEnvironment/include -I/usr/local/live/groupsock/include -fno-strict-aliasing .
>How-To-Repeat:
>Fix:
Patch attached!
Patch attached with submission follows:
--- Makefile.options.orig 2012-09-02 14:23:04.000000000 +0200
+++ Makefile.options 2012-09-02 14:26:17.000000000 +0200
@@ -55,7 +55,7 @@
CONFIGURE_ARGS+=--enable-runtime-cpudetection
.endif
-.if ${OSVERSION} >= 900033
+.if ${OSVERSION} >= 900033 && exists(/usr/bin/clang) && !defined(WITH_OTCHAIN)
WITH_BASE_CLANG=yes
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list