freebsd-ports/devel/git/files/patch-Makefile
Eric Anholt 6e0e3c8f91 Update git to 1.5.3.2.
This update brings in OPTIONS for GUI tools (on) and dependencies to make
the SVN tools work (off).  It also should handle the openssl dependency
correctly now.  Both of these changes are variations I made on the PR
submissions for those changes.

PR:		[1] ports/116521 (1.5.3.2)
		[2] ports/114472 (openssl issues)
Submitted by:	[1] Eygene Ryabinkin <rea-fbsd@codelabs.ru>
		[2] Ed Schouten <ed@fxq.nl>
2007-10-09 21:18:06 +00:00

38 lines
735 B
Text

--- Makefile.orig 2007-09-19 22:02:17.000000000 +0400
+++ Makefile 2007-09-21 22:13:25.000000000 +0400
@@ -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
@@ -173,15 +173,15 @@
export prefix bindir gitexecdir sharedir template_dir sysconfdir
-CC = gcc
-AR = ar
-RM = rm -f
-TAR = tar
-FIND = find
-INSTALL = install
-RPMBUILD = rpmbuild
-TCL_PATH = tclsh
-TCLTK_PATH = wish
+CC ?= gcc
+AR ?= ar
+RM ?= rm -f
+TAR ?= tar
+FIND ?= find
+INSTALL ?= install
+RPMBUILD ?= rpmbuild
+TCL_PATH ?= tclsh
+TCLTK_PATH ?= wish
export TCL_PATH TCLTK_PATH