Revision: 20787 http://trac.macosforge.org/projects/macports/changeset/20787 Author: yeled@macports.org Date: 2006-11-28 08:21:26 -0800 (Tue, 28 Nov 2006) Log Message: ----------- close #11006 create a Tk variant Modified Paths: -------------- trunk/dports/lang/ruby/Portfile Modified: trunk/dports/lang/ruby/Portfile =================================================================== --- trunk/dports/lang/ruby/Portfile 2006-11-28 15:56:42 UTC (rev 20786) +++ trunk/dports/lang/ruby/Portfile 2006-11-28 16:21:26 UTC (rev 20787) @@ -32,9 +32,7 @@ port:readline \ port:openssl \ port:zlib \ - port:ncurses \ - port:tcl \ - port:tk + port:ncurses patchfiles patch-Makefile.in \ patch-configure.in \ @@ -49,7 +47,8 @@ configure.args --enable-shared \ --mandir="${prefix}/share/man" \ - --enable-pthread + --enable-pthread \ + --without-tk configure.env CFLAGS="-O -pipe -I${prefix}/include" \ CPPFLAGS="-O -pipe -I${prefix}/include" \ LDFLAGS="-L${prefix}/lib" @@ -75,3 +74,8 @@ destroot.env DYLD_LIBRARY_PATH=${destroot}${prefix}/lib } +variant tk { + configure.args-delete --without-tk + configure.args-append --with-tk + depends_lib-append port:tcl port:tk +}
participants (1)
-
source_changes@macosforge.org