[101560] trunk/dports/net/wget/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 13 15:28:11 PST 2013
Revision: 101560
https://trac.macports.org/changeset/101560
Author: ryandesign at macports.org
Date: 2013-01-13 15:28:11 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
wget: alert the user that the +test variant must be used to run the tests
Modified Paths:
--------------
trunk/dports/net/wget/Portfile
Modified: trunk/dports/net/wget/Portfile
===================================================================
--- trunk/dports/net/wget/Portfile 2013-01-13 23:27:25 UTC (rev 101559)
+++ trunk/dports/net/wget/Portfile 2013-01-13 23:28:11 UTC (rev 101560)
@@ -47,6 +47,12 @@
# So that +universal can use gettext and openssl on Tiger; see #18276.
configure.ldflags-append -liconv -lintl
+pre-test {
+ if {![variant_isset test]} {
+ ui_error "To run the tests, you must select the +test variant."
+ return -code error "+test variant not selected"
+ }
+}
variant test description {Add dependencies needed to run tests} {
depends_build-append port:p5-libwww-perl \
port:p5-io-socket-ssl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/feb8d450/attachment.html>
More information about the macports-changes
mailing list