1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/devel/tmake/files/patch-aa
Will Andrews 1f3f8daeb9 Smack tmake into allowing environment-override C(C,XX) as well as
C(XX)FLAGS. Also make it look in the right directory for Qt includes.

This commit is required for me to update twinlib.
2000-04-07 01:34:34 +00:00

18 lines
717 B
Plaintext

--- lib/unix/generic.t Fri Jul 30 08:55:18 1999
+++ lib/unix/generic.t.new Thu Apr 6 20:43:17 2000
@@ -150,10 +150,10 @@
####### Compiler, tools and options
-CC = #$ Expand("TMAKE_CC");
-CXX = #$ Expand("TMAKE_CXX");
-CFLAGS = #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
-CXXFLAGS= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
+CC ?= #$ Expand("TMAKE_CC");
+CXX ?= #$ Expand("TMAKE_CXX");
+CFLAGS ?= #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
+CXXFLAGS?= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
INCPATH = #$ ExpandPath("INCPATH","-I"," -I","");
#$ Config("staticlib") && DisableOutput();
LINK = #$ Expand("TMAKE_LINK");