ports/devel/git/files/patch-Makefile
Alexander Botero-Lowry 6e7faaeeed - obey CFLAGS
- make WITHOUT_GUI work properly

PR:		113030
Submitted by:	Ed Schouten <ed@fxq.nl>
Approved by:	anholt (maintainer)
2007-05-27 23:43:32 +00:00

35 lines
656 B
Plaintext

--- Makefile Sun May 20 10:40:55 2007
+++ Makefile Sat May 26 20:43:02 2007
@@ -135,8 +135,8 @@
# CFLAGS and LDFLAGS are for the users to override from the command line.
-CFLAGS = -g -O2 -Wall
-LDFLAGS =
+CFLAGS ?= -g -O2 -Wall
+LDFLAGS ?=
ALL_CFLAGS = $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
STRIP ?= strip
@@ -172,13 +172,13 @@
export prefix bindir gitexecdir sharedir template_dir sysconfdir
-CC = gcc
-AR = ar
-TAR = tar
-INSTALL = install
-RPMBUILD = rpmbuild
-TCL_PATH = tclsh
-TCLTK_PATH = wish
+CC ?= gcc
+AR ?= ar
+TAR ?= tar
+INSTALL ?= install
+RPMBUILD ?= rpmbuild
+TCL_PATH ?= tclsh
+TCLTK_PATH ?= wish
export TCL_PATH TCLTK_PATH