source: trunk/base/Mk/dports.autoconf.mk.in @ 19073

Last change on this file since 19073 was 18978, checked in by pguyot (Paul Guyot), 14 years ago

Tell ld to look into /usr/local/lib.
gcc does look into /usr/local/include and might end up choosing the headers of a
library which exists in both /usr/lib and /usr/local/lib, but of course different
versions.

This hack works on MacOS X with and without a custom libreadline. It might break
on other systems, but it's much better than altering gcc include lookup order.

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1SHELL                   = @SHELL@
2
3
4srcdir                  = @srcdir@
5VPATH                   = @srcdir@
6
7CC                      = @CC@
8CFLAGS                  = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
9CPPFLAGS                = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
10TCL_DEFS                = @TCL_DEFS@
11SHLIB_CFLAGS            = @SHLIB_CFLAGS@
12CFLAGS_DEBUG            = @CFLAGS_DEBUG@
13CFLAGS_OPTIMIZE         = @CFLAGS_OPTIMIZE@
14CFLAGS_QUICHEEATERS     = @CFLAGS_QUICHEEATERS@
15CFLAGS_LIBCURL          = @CFLAGS_LIBCURL@
16
17TCL_CC                  = @TCL_CC@
18SHLIB_LD                = @SHLIB_LD@
19LDFLAGS_LIBCURL         = @LDFLAGS_LIBCURL@
20LDFLAGS                 =  -L/usr/local/lib @LDFLAGS@ $(LDFLAGS_LIBCURL)
21SHLIB_LDFLAGS           = @SHLIB_LDFLAGS@ ${LDFLAGS}
22SHLIB_SUFFIX            = @SHLIB_SUFFIX@
23TCL_STUB_LIB_SPEC       = @TCL_STUB_LIB_SPEC@
24
25LIBS                    = @LIBS@
26MD5_LIBS                = @MD5_LIBS@
27INSTALL                 = @INSTALL@
28MTREE                   = @MTREE@
29LN_S                    = @LN_S@
30XCODEBUILD              = @XCODEBUILD@
31
32TCLSH                   = @TCLSH@
33TCL_PACKAGE_DIR         = @TCL_PACKAGE_DIR@
34
35DSTUSR                  = @DSTUSR@
36DSTGRP                  = @DSTGRP@
37DSTMODE                 = @DSTMODE@
38
39
40prefix                  = @prefix@
41sysconfdir              = @sysconfdir@
42exec_prefix             = @exec_prefix@
43bindir                  = @bindir@
44datadir                 = @datadir@
45libdir                  = @libdir@
46localstatedir           = @localstatedir@
47infodir                 = @infodir@
48
49portconfigdir           = @PORTCONFIGDIR@
50dportsdir               = @DPORTSDIR@
51
52SILENT                  = @
Note: See TracBrowser for help on using the repository browser.