Revision
115433
Author
jeremyhu@macports.org
Date
2014-01-01 17:26:02 -0800 (Wed, 01 Jan 2014)

Log Message

libpwquality: Leopard build fix

Modified Paths

Diff

Modified: trunk/dports/devel/libpwquality/Portfile (115432 => 115433)


--- trunk/dports/devel/libpwquality/Portfile	2014-01-02 00:46:50 UTC (rev 115432)
+++ trunk/dports/devel/libpwquality/Portfile	2014-01-02 01:26:02 UTC (rev 115433)
@@ -66,6 +66,12 @@
     default_variants +python27
 }
 
+platform darwin {
+    if {${os.major} < 10} {
+        configure.args-append --disable-pam
+    }
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"