[115465] trunk/dports/gnome/gnome-keyring/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 2 14:15:44 PST 2014


Revision: 115465
          https://trac.macports.org/changeset/115465
Author:   jeremyhu at macports.org
Date:     2014-01-02 14:15:44 -0800 (Thu, 02 Jan 2014)
Log Message:
-----------
gnome-keyring: Leopard build fix

Modified Paths:
--------------
    trunk/dports/gnome/gnome-keyring/Portfile

Modified: trunk/dports/gnome/gnome-keyring/Portfile
===================================================================
--- trunk/dports/gnome/gnome-keyring/Portfile	2014-01-02 22:07:59 UTC (rev 115464)
+++ trunk/dports/gnome/gnome-keyring/Portfile	2014-01-02 22:15:44 UTC (rev 115465)
@@ -45,15 +45,22 @@
 use_autoreconf  yes
 autoreconf.args -fvi
 
-configure.args  --with-pam-dir=/usr/lib/pam \
-                --without-libcap-ng \
+configure.args  --without-libcap-ng \
                 --disable-silent-rules \
                 --disable-schemas-compile
 
-destroot.violate_mtree yes
+platform darwin {
+    if {${os.major} < 10} {
+        configure.args-append --disable-pam
+    } else {
+        configure.args-append --with-pam-dir=/usr/lib/pam
 
-post-destroot {
-    file delete ${destroot}/usr/lib/pam/pam_gnome_keyring.la
+        destroot.violate_mtree yes
+
+        post-destroot {
+            file delete ${destroot}/usr/lib/pam/pam_gnome_keyring.la
+        }
+    }
 }
 
 post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140102/2c4b5097/attachment.html>


More information about the macports-changes mailing list