Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 20:24:33 +0000
From:      Nali Toja <nalitoja@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161944: [patch] lang/tcc: respect CC/PREFIX
Message-ID:  <86wrbvwj5q.fsf@gmail.com>
Resent-Message-ID: <201110232040.p9NKe1nQ030027@freefall.freebsd.org>

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

>Number:         161944
>Category:       ports
>Synopsis:       [patch] lang/tcc: respect CC/PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 20:40:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ echo CC=clang >>/etc/make.conf
$ make install deinstall PREFIX=/foo
>Fix:
--- build.diff begins here ---
Index: lang/tcc/Makefile
===================================================================
RCS file: /a/.csup/ports/lang/tcc/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- lang/tcc/Makefile	6 Dec 2009 15:08:37 -0000	1.14
+++ lang/tcc/Makefile	23 Oct 2011 20:19:12 -0000
@@ -22,6 +22,7 @@ CONFLICTS=	TenDRA-*
 
 USE_BZIP2=	yes
 HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix="${PREFIX}" --cc="${CC}"
 USE_PERL5_BUILD=yes
 USE_GMAKE=	yes
 MAKE_ARGS+=	CONFIG_NOLDL=1
--- build.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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