ports/161944: [patch] lang/tcc: respect CC/PREFIX

Nali Toja nalitoja at gmail.com
Sun Oct 23 20:40:02 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list