[51894] trunk/dports/devel/openssl/Portfile

toby at macports.org toby at macports.org
Fri Jun 5 22:59:36 PDT 2009


Revision: 51894
          http://trac.macports.org/changeset/51894
Author:   toby at macports.org
Date:     2009-06-05 22:59:35 -0700 (Fri, 05 Jun 2009)
Log Message:
-----------
forward compatibility

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

Modified: trunk/dports/devel/openssl/Portfile
===================================================================
--- trunk/dports/devel/openssl/Portfile	2009-06-06 01:55:49 UTC (rev 51893)
+++ trunk/dports/devel/openssl/Portfile	2009-06-06 05:59:35 UTC (rev 51894)
@@ -63,7 +63,9 @@
 
 	post-patch {
 		# For universal builds, add "-isysroot ${universal_sysroot}" to compiler options
-		reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${universal_sysroot}|" ${worksrcpath}/Configure
+		if {[info exists universal_sysroot]} {
+			reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${universal_sysroot}|" ${worksrcpath}/Configure
+		}
 	}
 
 	set merger_arch_compiler "no"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090605/09c0c7d7/attachment.html>


More information about the macports-changes mailing list