[74325] trunk/dports/gnome/gstreamer/Portfile
rmstonecipher at macports.org
rmstonecipher at macports.org
Sun Dec 12 12:30:03 PST 2010
Revision: 74325
http://trac.macports.org/changeset/74325
Author: rmstonecipher at macports.org
Date: 2010-12-12 12:29:56 -0800 (Sun, 12 Dec 2010)
Log Message:
-----------
gnome/gstreamer added test to abort before building if check is installed, revised associated warning message
Modified Paths:
--------------
trunk/dports/gnome/gstreamer/Portfile
Modified: trunk/dports/gnome/gstreamer/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer/Portfile 2010-12-12 19:52:24 UTC (rev 74324)
+++ trunk/dports/gnome/gstreamer/Portfile 2010-12-12 20:29:56 UTC (rev 74325)
@@ -46,14 +46,12 @@
}
pre-build {
- ui_msg "It is likely that this port will fail to build if the 'check'"
- ui_msg "port is active. If this port fails to build, deactivate 'check'"
- ui_msg "by running:"
- ui_msg "port deactivate check"
- ui_msg "Reactivate 'check' after successfully installing gstreamer"
- ui_msg "by running:"
- ui_msg "port activate check"
- ui_msg "If you do not have 'check' installed, ignore this message."
+ if {[file exists ${prefix}/lib/libcheck.dylib]} {
+ ui_msg "Gstreamer will fail to build because the 'check' port is active. Deactivate"
+ ui_msg "'check' by running 'port deactivate check' and try again. You may reactivate"
+ ui_msg "'check' after installing gstreamer by running 'port activate check'."
+ return -code error "check is installed"
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101212/e8956a14/attachment.html>
More information about the macports-changes
mailing list