Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 13:12:58 GMT
From:      Andrew Lewis <freeghb@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/136789: Update port: textproc/luaexpat - Respect $CC
Message-ID:  <200907151312.n6FDCwuE068473@www.freebsd.org>
Resent-Message-ID: <200907151320.n6FDK3XJ053457@freefall.freebsd.org>

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

>Number:         136789
>Category:       misc
>Synopsis:       Update port: textproc/luaexpat - Respect $CC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 15 13:20:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Lewis
>Release:        7.1-RELEASE-p6
>Organization:
Private
>Environment:
FreeBSD foo.bar 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #4: Wed Jun 24 14:25:56 UTC 2009 toor@foo.bar:/usr/obj/usr/src/sys/ADAMANTIUM71 i386
>Description:
Patch to make textproc/luaexpat respect $CC per http://www.freebsd.org/doc/en/books/porters-handbook/dads-cc.html

May require following patch to apply cleanly:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136786
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/textproc/luaexpat/files/patch-config.orig	2009-07-15 12:21:14.000000000 +0000
+++ /usr/ports/textproc/luaexpat/files/patch-config	2009-07-15 12:21:52.000000000 +0000
@@ -37,4 +37,4 @@
 -CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
 +CFLAGS += $(CWARNS) -ansi -O2 -I$(LUA_INC) \
     -I$(COMPAT_DIR) -I$(EXPAT_INC)
- CC = gcc
+ CC ?= gcc


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



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