freebsd-ports/deskutils/abacus/files/patch-aa
Will Andrews 812e541141 Support CC/CXX/CFLAGS/CXXFLAGS/PREFIX properly; tar -> ${TAR}.
PR:		20419
Submitted by:	Ports Fury
2000-08-11 04:02:02 +00:00

39 lines
910 B
Text

--- Makefile.options.orig Wed Oct 21 05:19:08 1998
+++ Makefile.options Fri Aug 4 04:53:59 2000
@@ -3,22 +3,22 @@
#
# C compiler
-CC = gcc
+CC ?= gcc
# C++ compiler
-CCC = g++
+CCC = $(CXX)
# C++ compiler running only the pre-processing stage
-CPP=g++ -E
+CPP = $(CXX) -E
# Grammar generator - e.g. bison,yacc
-YACC = bison
+YACC = yacc
# Lexical scanner - e.g. flex,lex
LEX = flex
# Favourite flags for favourite compiler
-CCFLAGS = -g
+CCFLAGS = $(CXXFLAGS)
# Please don't change the next three lines unless you know what you are doing..
AROPTIONS = rc
@@ -26,7 +26,7 @@
LIBDIR = ../lib
# Add extra include dirs here
-IFLAGS = -I$(IDIR)
+IFLAGS = -I$(IDIR) -I$(X11BASE)/include -I$(LOCALBASE)/include/tcl8.2 -I$(LOCALBASE)/include/tk8.2
# Add extra directories where you want the abacus to search for libraries here
LFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L$(LIBDIR) -L.