[92307] trunk/dports/devel/dylibbundler/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Apr 24 15:18:22 PDT 2012


Revision: 92307
          https://trac.macports.org/changeset/92307
Author:   ryandesign at macports.org
Date:     2012-04-24 15:18:22 -0700 (Tue, 24 Apr 2012)
Log Message:
-----------
dylibbundler: prevent installation on all but Darwin; see #32551

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

Modified: trunk/dports/devel/dylibbundler/Portfile
===================================================================
--- trunk/dports/devel/dylibbundler/Portfile	2012-04-24 22:14:14 UTC (rev 92306)
+++ trunk/dports/devel/dylibbundler/Portfile	2012-04-24 22:18:22 UTC (rev 92307)
@@ -32,6 +32,13 @@
 use_zip             yes
 worksrcdir          ${name}
 
+pre-fetch {
+    if {${os.platform} != "darwin"} {
+        ui_error "${name} is designed for use on Darwin or OS X only."
+        return -code error "incompatible platform"
+    }
+}
+
 patchfiles          patch-makefile.diff
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120424/d2e7f27c/attachment.html>


More information about the macports-changes mailing list