Revision
90222
Author
cal@macports.org
Date
2012-02-26 19:08:38 -0800 (Sun, 26 Feb 2012)

Log Message

yubico-pam: Do not install header util.h conflicting with system header

Modified Paths

Diff

Modified: trunk/dports/security/yubico-pam/Portfile (90221 => 90222)


--- trunk/dports/security/yubico-pam/Portfile	2012-02-27 02:37:46 UTC (rev 90221)
+++ trunk/dports/security/yubico-pam/Portfile	2012-02-27 03:08:38 UTC (rev 90222)
@@ -7,6 +7,7 @@
 github.setup    Yubico yubico-pam 2.11
 checksums       rmd160  fd73dba91c40de9df509450bf2523b0362f53a10 \
                 sha256  8e88282721614bfe27c544b55231b9f4e1e8dee4ad3db754fc6f2d2b8144ac6e
+revision        1
 
 # I'm explicitly not marking this openmaintainer
 maintainers     cal
@@ -48,6 +49,9 @@
                 yes
 
 post-destroot {
+    # remove header which is unneeded, because there's no software linking
+    # against yubico-pam and which clashes with a system header
+    file delete ${destroot}${prefix}/include/util.h
     file delete ${destroot}/usr/lib/pam/pam_yubico.la
 }