[27297] trunk/base
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 27 13:20:54 PDT 2007
Revision: 27297
http://trac.macosforge.org/projects/macports/changeset/27297
Author: sfiera at macports.org
Date: 2007-07-27 13:20:54 -0700 (Fri, 27 Jul 2007)
Log Message:
-----------
Additionally allow CFLAGS to be set separately for packages
This currently seems to be a no-op, as there are no special flags recorded for
any lib but curl, and curl's CFLAGS are empty for me. But, it's good planning.
Modified Paths:
--------------
trunk/base/Mk/macports.autoconf.mk.in
trunk/base/src/pextlib1.0/Makefile
Modified: trunk/base/Mk/macports.autoconf.mk.in
===================================================================
--- trunk/base/Mk/macports.autoconf.mk.in 2007-07-27 20:20:48 UTC (rev 27296)
+++ trunk/base/Mk/macports.autoconf.mk.in 2007-07-27 20:20:54 UTC (rev 27297)
@@ -5,8 +5,8 @@
VPATH = @srcdir@
CC = @CC@
-CFLAGS = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
-OBJCFLAGS = @OBJCFLAGS@ $(CFLAGS_WERROR) ${CFLAGS_DEBUG} $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
+CFLAGS = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS)
+OBJCFLAGS = @OBJCFLAGS@ $(CFLAGS_WERROR) ${CFLAGS_DEBUG} $(CFLAGS_OPTIMIZE) $(CPPFLAGS)
CPPFLAGS = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
TCL_DEFS = @TCL_DEFS@
SHLIB_CFLAGS = @SHLIB_CFLAGS@
@@ -14,8 +14,12 @@
CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
CFLAGS_QUICHEEATERS = @CFLAGS_QUICHEEATERS@
CFLAGS_WERROR = @CFLAGS_WERROR@
-CFLAGS_LIBCURL = @CFLAGS_LIBCURL@
+READLINE_CFLAGS =
+MD5_CFLAGS =
+SQLITE3_CFLAGS =
+CURL_CFLAGS = @CFLAGS_LIBCURL@
+
OBJC_RUNTIME = @OBJC_RUNTIME@
OBJC_RUNTIME_FLAGS = @OBJC_RUNTIME_FLAGS@
OBJC_LIBS = @OBJC_LIBS@
Modified: trunk/base/src/pextlib1.0/Makefile
===================================================================
--- trunk/base/src/pextlib1.0/Makefile 2007-07-27 20:20:48 UTC (rev 27296)
+++ trunk/base/src/pextlib1.0/Makefile 2007-07-27 20:20:54 UTC (rev 27297)
@@ -9,6 +9,7 @@
include ../../Mk/macports.autoconf.mk
include ../../Mk/macports.tea.mk
+CFLAGS+= ${CURL_CFLAGS} ${MD5_CFLAGS} ${READLINE_CFLAGS}
LIBS+= ${CURL_LIBS} ${MD5_LIBS} ${READLINE_LIBS}
.PHONY: test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070727/bc269ef1/attachment.html
More information about the macports-changes
mailing list