1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/calc/files/patch-ab

29 lines
686 B
Plaintext
Raw Normal View History

--- Makefile.orig Sat Dec 18 22:20:02 1999
+++ Makefile Sun Feb 6 00:16:45 2000
@@ -625,14 +625,14 @@
1999-12-25 23:02:30 +00:00
CCOPT= ${DEBUG} ${NO_SHARED}
CCMISC=
1999-12-25 23:02:30 +00:00
#
-CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC}
+CFLAGS+= ${CCWARN} ${CCOPT} ${CCMISC}
1999-12-25 23:02:30 +00:00
ICFLAGS= ${CCWARN} ${CCMISC}
#
LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
ILDFLAGS=
#
LCC= gcc
-CC= ${PURIFY} ${LCC}
+CC?= ${PURIFY} ${LCC}
#
###
#
@@ -1073,7 +1073,7 @@
all: .hsrc ${TARGETS}
calc: .hsrc ${CALC_LIBS} ${CALCOBJS}
- ${CC} ${LDFLAGS} ${CALCOBJS} ${CALC_LIBS} ${LD_DEBUG} ${READLINE_LIB} -o calc
+ ${CC} ${CFLAGS} ${LDFLAGS} ${CALCOBJS} ${CALC_LIBS} ${LD_DEBUG} ${READLINE_LIB} -o calc
libcalc.a: ${LIBOBJS} ${MAKE_FILE}
-rm -f libcalc.a