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

jmr at macports.org jmr at macports.org
Wed Aug 26 14:10:31 PDT 2009


Revision: 56380
          http://trac.macports.org/changeset/56380
Author:   jmr at macports.org
Date:     2009-08-26 14:10:26 -0700 (Wed, 26 Aug 2009)
Log Message:
-----------
tk: better idea, just depend on pkgconfig (and use the right path in ldflags)

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

Modified: trunk/dports/x11/tk/Portfile
===================================================================
--- trunk/dports/x11/tk/Portfile	2009-08-26 20:57:08 UTC (rev 56379)
+++ trunk/dports/x11/tk/Portfile	2009-08-26 21:10:26 UTC (rev 56380)
@@ -32,6 +32,8 @@
     sha1    02c57eea35191f027460c6df289179d03f2e9584 \
     rmd160  1f3c937a5e77ec2fbf79240d385474eed24f8ea5
 
+depends_build   port:pkgconfig
+
 # force usage of MacPorts Tcl
 depends_lib \
 	port:tcl \
@@ -43,8 +45,8 @@
 }
 
 configure.args      --mandir=${prefix}/share/man --with-tcl=${prefix}/lib
-configure.cppflags  -I${workpath}/tcl${version}/generic  -I${prefix}/include
-configure.ldflags   -L${worksrcpath}/unix -L${prefix}/lib
+configure.cppflags  -I${workpath}/tcl${version}/generic
+configure.ldflags   -L${worksrcpath} -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/f7efbdee/attachment.html>


More information about the macports-changes mailing list