mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
Don't ignore CFLAGS
PR: ports/17599 Submitted by: Will Andrews <andrews@technologist.com>
This commit is contained in:
parent
8ab244856f
commit
089e92d1f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27963
@ -1,5 +1,5 @@
|
|||||||
--- Makefile.in.orig Fri Aug 13 18:06:14 1999
|
--- Makefile.in.orig Tue Dec 14 23:00:19 1999
|
||||||
+++ Makefile.in Sat Sep 4 19:47:43 1999
|
+++ Makefile.in Mon Apr 24 09:41:33 2000
|
||||||
@@ -56,7 +56,9 @@
|
@@ -56,7 +56,9 @@
|
||||||
BIN_DIR = $(exec_prefix)/bin
|
BIN_DIR = $(exec_prefix)/bin
|
||||||
|
|
||||||
@ -11,6 +11,15 @@
|
|||||||
|
|
||||||
# Top-level directory for manual entries:
|
# Top-level directory for manual entries:
|
||||||
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
|
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
|
||||||
|
@@ -99,7 +101,7 @@
|
||||||
|
#CFLAGS = $(CFLAGS_DEBUG)
|
||||||
|
#CFLAGS = $(CFLAGS_OPTIMIZE)
|
||||||
|
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
|
||||||
|
-CFLAGS = @CFLAGS@
|
||||||
|
+CFLAGS ?= @CFLAGS@
|
||||||
|
|
||||||
|
# A "-I" switch that can be used when compiling to make all of the
|
||||||
|
# X11 include files accessible (the configure script will try to
|
||||||
@@ -153,7 +155,7 @@
|
@@ -153,7 +155,7 @@
|
||||||
# "install" around; better to use the install-sh script that comes
|
# "install" around; better to use the install-sh script that comes
|
||||||
# with the distribution, which is slower but guaranteed to work.
|
# with the distribution, which is slower but guaranteed to work.
|
||||||
@ -29,7 +38,7 @@
|
|||||||
|
|
||||||
# The symbol below provides support for dynamic loading and shared
|
# The symbol below provides support for dynamic loading and shared
|
||||||
# libraries. See configure.in for a description of what it means.
|
# libraries. See configure.in for a description of what it means.
|
||||||
@@ -356,8 +358,14 @@
|
@@ -361,8 +363,14 @@
|
||||||
${TK_LIB_FILE}: ${OBJS}
|
${TK_LIB_FILE}: ${OBJS}
|
||||||
rm -f ${TK_LIB_FILE}
|
rm -f ${TK_LIB_FILE}
|
||||||
@MAKE_LIB@
|
@MAKE_LIB@
|
||||||
@ -44,7 +53,7 @@
|
|||||||
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
|
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
|
||||||
rm -f ${STUB_LIB_FILE}
|
rm -f ${STUB_LIB_FILE}
|
||||||
@MAKE_STUB_LIB@
|
@MAKE_STUB_LIB@
|
||||||
@@ -418,7 +426,7 @@
|
@@ -425,7 +433,7 @@
|
||||||
# some ranlibs write to current directory, and this might not always be
|
# some ranlibs write to current directory, and this might not always be
|
||||||
# possible (e.g. if installing as root).
|
# possible (e.g. if installing as root).
|
||||||
|
|
||||||
@ -53,7 +62,7 @@
|
|||||||
@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
|
@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
|
||||||
do \
|
do \
|
||||||
if [ ! -d $$i ] ; then \
|
if [ ! -d $$i ] ; then \
|
||||||
@@ -432,12 +440,18 @@
|
@@ -439,12 +447,18 @@
|
||||||
chmod +x $(UNIX_DIR)/install-sh
|
chmod +x $(UNIX_DIR)/install-sh
|
||||||
chmod +x $(UNIX_DIR)/mkLinks
|
chmod +x $(UNIX_DIR)/mkLinks
|
||||||
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
|
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
|
||||||
@ -73,7 +82,7 @@
|
|||||||
@if test "$(TK_BUILD_EXP_FILE)" != ""; then \
|
@if test "$(TK_BUILD_EXP_FILE)" != ""; then \
|
||||||
echo "Installing $(TK_EXP_FILE)"; \
|
echo "Installing $(TK_EXP_FILE)"; \
|
||||||
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
|
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
|
||||||
@@ -451,6 +465,7 @@
|
@@ -458,6 +472,7 @@
|
||||||
|
|
||||||
install-libraries:
|
install-libraries:
|
||||||
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
|
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
|
||||||
@ -81,7 +90,7 @@
|
|||||||
$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
|
$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
|
||||||
do \
|
do \
|
||||||
if [ ! -d $$i ] ; then \
|
if [ ! -d $$i ] ; then \
|
||||||
@@ -461,11 +476,19 @@
|
@@ -468,11 +483,19 @@
|
||||||
fi; \
|
fi; \
|
||||||
done;
|
done;
|
||||||
chmod +x $(UNIX_DIR)/install-sh
|
chmod +x $(UNIX_DIR)/install-sh
|
||||||
@ -103,7 +112,7 @@
|
|||||||
for i in $(SRC_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps \
|
for i in $(SRC_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps \
|
||||||
$(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
|
$(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
|
||||||
do \
|
do \
|
||||||
@@ -530,16 +553,14 @@
|
@@ -537,7 +560,6 @@
|
||||||
$$i > $(MAN1_INSTALL_DIR)/$$i; \
|
$$i > $(MAN1_INSTALL_DIR)/$$i; \
|
||||||
chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
|
chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
|
||||||
done;
|
done;
|
||||||
@ -111,9 +120,7 @@
|
|||||||
@cd $(SRC_DIR)/doc; for i in *.3; \
|
@cd $(SRC_DIR)/doc; for i in *.3; \
|
||||||
do \
|
do \
|
||||||
echo "Installing doc/$$i"; \
|
echo "Installing doc/$$i"; \
|
||||||
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
|
@@ -546,7 +568,6 @@
|
||||||
+ rm -f $(MAN3_INSTALL_DIR)/$$i ; \
|
|
||||||
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
|
|
||||||
$$i > $(MAN3_INSTALL_DIR)/$$i; \
|
$$i > $(MAN3_INSTALL_DIR)/$$i; \
|
||||||
chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
|
chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
|
||||||
done;
|
done;
|
||||||
@ -121,7 +128,7 @@
|
|||||||
@cd $(SRC_DIR)/doc; for i in *.n; \
|
@cd $(SRC_DIR)/doc; for i in *.n; \
|
||||||
do \
|
do \
|
||||||
echo "Installing doc/$$i"; \
|
echo "Installing doc/$$i"; \
|
||||||
@@ -548,7 +569,6 @@
|
@@ -555,7 +576,6 @@
|
||||||
$$i > $(MANN_INSTALL_DIR)/$$i; \
|
$$i > $(MANN_INSTALL_DIR)/$$i; \
|
||||||
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
|
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
|
||||||
done;
|
done;
|
||||||
|
Loading…
Reference in New Issue
Block a user