[107875] trunk/dports/net/mldonkey/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 7 23:20:02 PDT 2013
Revision: 107875
https://trac.macports.org/changeset/107875
Author: ryandesign at macports.org
Date: 2013-07-07 23:20:02 -0700 (Sun, 07 Jul 2013)
Log Message:
-----------
mldonkey: use active_variants portgroup
Modified Paths:
--------------
trunk/dports/net/mldonkey/Portfile
Modified: trunk/dports/net/mldonkey/Portfile
===================================================================
--- trunk/dports/net/mldonkey/Portfile 2013-07-08 06:16:14 UTC (rev 107874)
+++ trunk/dports/net/mldonkey/Portfile 2013-07-08 06:20:02 UTC (rev 107875)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name mldonkey
version 3.1.3
@@ -44,18 +45,9 @@
port:libiconv \
port:libpng
+require_active_variants lablgtk2 rsvg
+
# ocaml is not universal
universal_variant no
-pre-configure {
- if {![file exists ${prefix}/lib/ocaml/site-lib/lablgtk2/lablrsvg.a]} {
- ui_error "${name} needs lablgtk2 to be installed with librsvg support."
- ui_error "Please rebuild lablgtk2 using the command:"
- ui_error ""
- ui_error " sudo port upgrade --enforce-variants lablgtk2 +rsvg"
- ui_error ""
- return -code error "incompatible lablgtk2 installation"
- }
-}
-
configure.args --enable-gui=newgui2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130707/e4e54bd8/attachment.html>
More information about the macports-changes
mailing list