[138313] trunk/dports/audio/pulseaudio/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 5 11:23:27 PDT 2015


Revision: 138313
          https://trac.macports.org/changeset/138313
Author:   jeremyhu at macports.org
Date:     2015-07-05 11:23:27 -0700 (Sun, 05 Jul 2015)
Log Message:
-----------
pulseaudio: Build fix for unset SDKROOT

Modified Paths:
--------------
    trunk/dports/audio/pulseaudio/Portfile

Modified: trunk/dports/audio/pulseaudio/Portfile
===================================================================
--- trunk/dports/audio/pulseaudio/Portfile	2015-07-05 17:38:12 UTC (rev 138312)
+++ trunk/dports/audio/pulseaudio/Portfile	2015-07-05 18:23:27 UTC (rev 138313)
@@ -92,8 +92,7 @@
 
 configure.cmd       ./autogen.sh
 
-configure.args      --with-mac-sysroot=${configure.sdkroot} \
-                    --with-mac-version-min=$macosx_deployment_target \
+configure.args      --with-mac-version-min=$macosx_deployment_target \
                     --with-caps \
                     --disable-silent-rules \
                     --disable-tests \
@@ -119,6 +118,12 @@
                     --enable-neon-opt=no \
                     --enable-orc
 
+if {"${configure.sdkroot}" eq ""} {
+    configure.args-append --with-mac-sysroot=/
+} else {
+    configure.args-append --with-mac-sysroot=${configure.sdkroot}
+}
+
 add_users           pulse group=pulse realname=Pulse\ Audio
 
 variant x11 conflicts minimal {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150705/764c66c4/attachment.html>


More information about the macports-changes mailing list