[56378] trunk/dports/x11/tk/Portfile

jmr at macports.org jmr at macports.org
Wed Aug 26 13:55:54 PDT 2009


Revision: 56378
          http://trac.macports.org/changeset/56378
Author:   jmr at macports.org
Date:     2009-08-26 13:55:53 -0700 (Wed, 26 Aug 2009)
Log Message:
-----------
tk: adjust cppflags and ldflags to reliably pick up X11 headers and avoid linking against any previously installed version

Modified Paths:
--------------
    trunk/dports/x11/tk/Portfile

Modified: trunk/dports/x11/tk/Portfile
===================================================================
--- trunk/dports/x11/tk/Portfile	2009-08-26 20:53:33 UTC (rev 56377)
+++ trunk/dports/x11/tk/Portfile	2009-08-26 20:55:53 UTC (rev 56378)
@@ -43,7 +43,8 @@
 }
 
 configure.args      --mandir=${prefix}/share/man --with-tcl=${prefix}/lib
-configure.cppflags  "-I${workpath}/tcl${version}/generic"
+configure.cppflags  -I${workpath}/tcl${version}/generic  -I${prefix}/include
+configure.ldflags   -L${worksrcpath}/unix -L${prefix}/lib
 
 destroot.destdir    INSTALL_ROOT=${destroot}
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090826/af8b275c/attachment.html>


More information about the macports-changes mailing list