ports/67774: [PATCH] editors/vim: [honor CC]

michael johnson ahze at ahze.net
Thu Jun 10 03:10:27 UTC 2004


>Number:         67774
>Category:       ports
>Synopsis:       [PATCH] editors/vim: [honor 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:   Thu Jun 10 03:10:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #50: Thu Jun  3 21:24:59 EDT
>Description:
- Honor CC

it uses gcc no matter what CC is set to.

Port maintainer (obrien at FreeBSD.org) is cc'd.

>How-To-Repeat:

cd ports/editors/vim/;make CC=cc

>Fix:

--- vim-6.3.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/vim/Makefile,v
retrieving revision 1.255
diff -u -r1.255 Makefile
--- Makefile	8 Jun 2004 16:09:52 -0000	1.255
+++ Makefile	10 Jun 2004 02:58:45 -0000
@@ -42,7 +42,7 @@
 PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP}
 # consider
 #PATCH_DIST_ARGS=	-t
-MAKE_ARGS+=	CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
+MAKE_ARGS+=	CC="${CC}" CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
 ALL_TARGET=	#
 _DATADIR=	${DISTNAME:S/-//g:S/.//g}
 DATADIR=	${PREFIX}/share/vim/${_DATADIR}
--- vim-6.3.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list