Date: Sun, 20 Apr 2008 12:57:16 GMT From: Frank Fenor <frank@fenor.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/122931: archivers/lzma does not respect CC Message-ID: <200804201257.m3KCvGuV059988@www.freebsd.org> Resent-Message-ID: <200804201300.m3KD01W7076250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122931 >Category: ports >Synopsis: archivers/lzma does not respect CC >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 Apr 20 13:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Frank Fenor >Release: FreeBSD 7.0-PRERELEASE >Organization: >Environment: FreeBSD konzentrisch.de 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Tue Feb 5 00:33:58 CET 2008 >Description: archivers/lzma does respect CFLAGS but not CC which causes a problem, if CFLAGS contains settings that only work with the compiler in CC. On my machine this is "gcc43" with "-march=core2" for example. Since the upstream is already prepared to use CC, we just need to set it. My patch does this. >How-To-Repeat: Try to build archivers/lzma with GCC 4.3 optimized for Intels Core2 Architecture. >Fix: cd /usr/ports/archivers/lzma && patch -p0 < patch.txt Patch attached with submission follows: --- Makefile.vanilla 2008-04-20 14:35:57.000000000 +0200 +++ Makefile 2008-04-20 14:36:08.000000000 +0200 @@ -22,7 +22,7 @@ MAKEFILE= makefile.gcc PLIST_FILES= bin/${PORTNAME} CFLAGS+= -D_LZMA_SYSTEM_SIZE_T -MAKE_ENV+= CXX="${CXX}" CC="${CC}" +MAKE_ENV+= CXX="${CXX}" PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt post-patch: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201257.m3KCvGuV059988>