[27561] trunk/dports/devel/codeblocks-devel/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 8 05:37:26 PDT 2007


Revision: 27561
          http://trac.macosforge.org/projects/macports/changeset/27561
Author:   afb at macports.org
Date:     2007-08-08 05:37:25 -0700 (Wed, 08 Aug 2007)

Log Message:
-----------
- update to SVN rev 4361+ etc
- fix broken default_variants
- fix broken depends_lib too

Revision Links:
--------------
    http://trac.macosforge.org/projects/macports/changeset/4361

Modified Paths:
--------------
    trunk/dports/devel/codeblocks-devel/Portfile

Modified: trunk/dports/devel/codeblocks-devel/Portfile
===================================================================
--- trunk/dports/devel/codeblocks-devel/Portfile	2007-08-08 12:11:07 UTC (rev 27560)
+++ trunk/dports/devel/codeblocks-devel/Portfile	2007-08-08 12:37:25 UTC (rev 27561)
@@ -19,7 +19,7 @@
 
 fetch.type	svn
 svn.url		svn://svn.berlios.de/codeblocks/trunk
-#svn.tag		4261
+#svn.tag		4361
 worksrcdir	trunk
 
 # autoconf >= 2.50, automake >= 1.9, libtool >= 1.4
@@ -29,7 +29,7 @@
 
 configure.cmd   ./bootstrap && ./configure
 configure.env   ACLOCAL_FLAGS="-I ${prefix}/share/aclocal"
-configure.args  --enable-contrib
+configure.args  --with-contrib-plugins=all
 
 post-destroot {
 	system "strip -S ${destroot}${prefix}/bin/codeblocks"
@@ -40,12 +40,12 @@
 	system "strip -S ${destroot}${prefix}/share/codeblocks/plugins/*.so"
 }
 
+platform puredarwin { variant_set x11 }
+platform macosx { if {![variant_isset x11]} { variant_set aqua } }
+platform freebsd { variant_set x11 }
 
-default_variants +aqua
-platform macosx { if {[variant_isset x11]} { variant_undef aqua } }
-
 variant aqua requires macosx description "Use the wxMac port of wxWidgets" {
-	depends_lib-append port:wxWidgets
+	depends_lib port:wxWidgets
 
     post-destroot {
 	xinstall -d -m 0755 ${destroot}/Applications/MacPorts
@@ -89,6 +89,6 @@
 }
 
 variant x11 conflicts aqua description "Use the wxGTK port of wxWidgets" {
-	depends_lib-append port:wxgtk
+	depends_lib port:wxgtk
 }
 

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


More information about the macports-changes mailing list