[121029] trunk/dports/multimedia

Mihai Moldovan ionic at ionic.de
Sat Jun 14 21:17:46 PDT 2014


This patch fixes the darwin typo, a TCL issue that has been shadowed by the
aforementioned typo and doesn't explicitly check for the existence of
${configure.cxx_stdlib}.

Also revbumped to have the correct min version target set.
-------------- next part --------------
--- multimedia/audacious/Portfile.old	2014-06-15 02:00:36.000000000 +0200
+++ multimedia/audacious/Portfile	2014-06-15 06:14:55.000000000 +0200
@@ -7,7 +7,7 @@
 
 # Please keep audacious, audacious-core and audacious-plugins synchronized.
 version             3.5
-revision            0
+revision            1
 
 license             BSD GPL-2+
 categories          multimedia
--- multimedia/audacious-core/Portfile.old	2014-06-15 02:00:36.000000000 +0200
+++ multimedia/audacious-core/Portfile		2014-06-15 06:14:50.000000000 +0200
@@ -8,7 +8,7 @@
 
 # Please keep audacious, audacious-core and audacious-plugins synchronized.
 version             3.5
-revision            0
+revision            1
 
 license             BSD
 categories          multimedia
@@ -56,19 +56,16 @@
 autoreconf.cmd      ./autogen.sh
 autoreconf.args
 
-platform darin {
-    if {[info exists configure.cxx_stdlib] &&
-        ${configure.cxx_stdlib} -ne {} &&
-        ${configure.cxx_stdlib} == "libc++"} {
+platform darwin {
+    if {${configure.cxx_stdlib} ne {} &&
+        [string equal ${configure.cxx_stdlib} "libc++"]} {
         if {${os.major} > 10} {
             configure.ldflags-append  "-mmacosx-version-min=10.7"
-        }
-        else {
+        } else {
             ui_error "libc++ is only supported on OS X 10.7 and up for this port."
             error "libc++ supported on >= 10.7 only."
         }
-    }
-    else {
+    } else {
         configure.ldflags-append  "-mmacosx-version-min=10.5"
     }
 }
--- multimedia/audacious-plugins/Portfile.old	2014-06-15 02:00:36.000000000 +0200
+++ multimedia/audacious-plugins/Portfile	2014-06-15 06:14:52.000000000 +0200
@@ -7,7 +7,7 @@
 
 # Please keep audacious, audacious-core and audacious-plugins synchronized.
 version             3.5
-revision            0
+revision            1
 
 # FIXME: probably more licenses involved here...
 license             BSD GPL-2+
@@ -104,19 +104,16 @@
 autoreconf.cmd      ./autogen.sh
 autoreconf.args
 
-platform darin {
-    if {[info exists configure.cxx_stdlib] &&
-        ${configure.cxx_stdlib} -ne {} &&
-        ${configure.cxx_stdlib} == "libc++"} {
+platform darwin {
+    if {${configure.cxx_stdlib} ne {} &&
+        [string equal ${configure.cxx_stdlib} "libc++"]} {
         if {${os.major} > 10} {
             configure.ldflags-append  "-mmacosx-version-min=10.7"
-        }
-        else {
+        } else {
             ui_error "libc++ is only supported on OS X 10.7 and up for this port."
             error "libc++ supported on >= 10.7 only."
         }
-    }
-    else {
+    } else {
         configure.ldflags-append  "-mmacosx-version-min=10.5"
     }
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4265 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140615/9f6158bb/attachment.p7s>


More information about the macports-dev mailing list