Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jun 2004 23:03:08 -0400 (EDT)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obrien@FreeBSD.org
Subject:   ports/67774: [PATCH] editors/vim: [honor CC]
Message-ID:  <20040610030308.493D65D3E@ahze.ahze.net>
Resent-Message-ID: <200406100310.i5A3APHq094853@freefall.freebsd.org>

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

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



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