Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 15:29:45 GMT
From:      "&#321;ukasz Gruner" <ukaszg@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175631: support WITHOUT_GCC in games/lwjgl
Message-ID:  <201301271529.r0RFTjsd039433@red.freebsd.org>
Resent-Message-ID: <201301271530.r0RFU04w056527@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175631
>Category:       ports
>Synopsis:       support WITHOUT_GCC in games/lwjgl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 15:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     &#321;ukasz Gruner
>Release:        stable
>Organization:
>Environment:
FreeBSD skynet 9.1-STABLE FreeBSD 9.1-STABLE #1 r245755: Wed Jan 23 02:57:53 CET 2013     root@skynet:/usr/obj/usr/local/src/sys/GENERIC  amd64

>Description:
I compiled base using WITHOUT_GCC and WITH_CLANG_IS_CC

there is no gcc on my system, and games/lwjgl's build.xml files has gcc hardcoded.

>How-To-Repeat:
get rid of gcc and try to build games/lwjgl
>Fix:
apply attached patch

Patch attached with submission follows:

--- Makefile	2013-01-27 16:18:00.000000000 +0100
+++ Makefile.new	2013-01-27 16:17:51.000000000 +0100
@@ -60,6 +60,9 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's,PREFIX,${PREFIX},g' ${WRKSRC}/platform_build/linux_ant/build.xml
+.if defined(WITHOUT_GCC)
+	${REINPLACE_CMD} -e '/executable/s/gcc/clang/g' ${WRKSRC}/platform_build/linux_ant/build.xml
+.endif
 
 do-install:
 	@${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}/${PORTNAME}/ ..."


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301271529.r0RFTjsd039433>