Modified: trunk/dports/python/py-cairo/Portfile (100266 => 100267)
--- trunk/dports/python/py-cairo/Portfile 2012-12-06 06:53:08 UTC (rev 100266)
+++ trunk/dports/python/py-cairo/Portfile 2012-12-06 10:30:01 UTC (rev 100267)
@@ -24,7 +24,7 @@
checksums rmd160 7d1c1c05113e5bbad32dbe96c65c918b170cac33 \
sha256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
-python.versions 26 27 31 32 33
+python.versions 26 27 31 32
python.default_version 27
depends_build port:pkgconfig
@@ -55,12 +55,6 @@
livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
-post-configure {
- if {[variant_isset x11]} {
- require_active_variants cairo x11
- }
-}
-
platform darwin 9 {
post-patch {
reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in
@@ -77,6 +71,10 @@
}
}
-variant x11 {}
+variant x11 {
+ pre-configure {
+ require_active_variants cairo x11
+ }
+}
default_variants +x11