freebsd-ports/textproc/bibtool/files/patch-makefile.in
Ying-Chieh Liao 69ddbe18a4 add bibtool 2.48
Command line manipulation of BibTeX files

PR:		88455
Submitted by:	rafan@infor.org
2005-11-04 05:40:12 +00:00

29 lines
815 B
Text

--- AutoConf/makefile.in.orig Sun Feb 8 17:46:11 2004
+++ AutoConf/makefile.in Wed Nov 2 17:05:33 2005
@@ -67,7 +67,7 @@
# Name the C compiler
#
-CC = @CC@
+CC ?= @CC@
# -------------------------------------------------------
# CFLAGS are the flags for the C compiler.
@@ -78,7 +78,7 @@
# optimizer is turned on.
#
-CFLAGS =
+CFLAGS += -DHAVE_PROTOTYPES
# CFLAGS = -O
# GNU C
# CFLAGS = -g -Wall
@@ -461,7 +461,7 @@
# Targets from the GNU Regular Expression Library.
regex$(OBJ): $(REGEX_DIR)$(DIR_SEP)regex.c $(MAKEFILE)
- $(CC) $(C_FLAGS) -I$(REGEX_DIR) -I.. $(NON_ANSI_DEFS) $(REGEX_DIR)$(DIR_SEP)regex.c $(DONT_LINK) -o $@
+ $(CC) $(C_FLAGS) -DSTDC_HEADERS -I$(REGEX_DIR) -I.. $(NON_ANSI_DEFS) $(REGEX_DIR)$(DIR_SEP)regex.c $(DONT_LINK) -o $@
bibtcl: