Changeset 17179


Ignore:
Timestamp:
Mar 26, 2006, 6:04:21 PM (15 years ago)
Author:
jberry
Message:

Roll patch from HEAD back to release_1_2 branch.

  • Adds support for ./configure args for CFLAGS and SHLIB_LDFLAGS.
  • Enables build of a fat darwinports installation when the following configure line is used: ./configure CFLAGS='-arch ppc -arch i386' SHLIB_LDFLAGS='-arch ppc -arch i386'
  • This currently works only on an intel Mac, due to the fact that the universal sdk does not include all the needed Tcl stubs needed to build darwinports.
  • This is in preparation for a potential 1.2.1 fat dmg build.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release_1_2/base/Mk/dports.autoconf.mk.in

    r14467 r17179  
    11SHELL                   = @SHELL@
     2
     3
    24srcdir                  = @srcdir@
    35VPATH                   = @srcdir@
    46
    5 CC                      = @CC@
    6 CFLAGS                  = $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
    7 CPPFLAGS                = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
    8 TCL_DEFS                = @TCL_DEFS@
     7CC                                      = @CC@
     8CFLAGS                          = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
     9CPPFLAGS                        = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
     10TCL_DEFS                        = @TCL_DEFS@
    911SHLIB_CFLAGS            = @SHLIB_CFLAGS@
    1012CFLAGS_DEBUG            = @CFLAGS_DEBUG@
     
    1315CFLAGS_LIBCURL          = @CFLAGS_LIBCURL@
    1416
    15 TCL_CC                  = @TCL_CC@
    16 SHLIB_LD                = @SHLIB_LD@
     17TCL_CC                          = @TCL_CC@
     18SHLIB_LD                        = @SHLIB_LD@
    1719LDFLAGS_LIBCURL         = @LDFLAGS_LIBCURL@
    18 LDFLAGS                 = @LDFLAGS@ $(LDFLAGS_LIBCURL)
    19 SHLIB_LDFLAGS           = @LDFLAGS@
     20LDFLAGS                         = @LDFLAGS@ $(LDFLAGS_LIBCURL)
     21SHLIB_LDFLAGS           = @SHLIB_LDFLAGS@ @LDFLAGS@
    2022SHLIB_SUFFIX            = @SHLIB_SUFFIX@
    2123TCL_STUB_LIB_SPEC       = @TCL_STUB_LIB_SPEC@
Note: See TracChangeset for help on using the changeset viewer.