[20787] trunk/dports/lang/ruby/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 28 08:21:27 PST 2006


Revision: 20787
          http://trac.macosforge.org/projects/macports/changeset/20787
Author:   yeled at 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 
+} 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061128/65616d6b/attachment.html


More information about the macports-changes mailing list