[142855] trunk/dports/net/kerberos5/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 12 07:31:19 PST 2015


Revision: 142855
          https://trac.macports.org/changeset/142855
Author:   jeremyhu at macports.org
Date:     2015-11-24 18:32:02 -0800 (Tue, 24 Nov 2015)
Log Message:
-----------
kerberos5: Cleanup krb5-config to not force possibly broken LDFLAGS on dependents

Modified Paths:
--------------
    trunk/dports/net/kerberos5/Portfile

Modified: trunk/dports/net/kerberos5/Portfile
===================================================================
--- trunk/dports/net/kerberos5/Portfile	2015-11-24 23:43:13 UTC (rev 142854)
+++ trunk/dports/net/kerberos5/Portfile	2015-11-25 02:32:02 UTC (rev 142855)
@@ -8,7 +8,7 @@
 github.setup                krb5 krb5 1.13.2-final krb5-
 name                        kerberos5
 version                     1.13.2
-revision                    1
+revision                    2
 conflicts                   fbopenssl
 set branch                  [join [lrange [split ${version} .] 0 1] .]
 categories                  net security
@@ -76,6 +76,11 @@
         ${worksrcpath}/build-tools/krb5-config
 }
 
+post-destroot {
+    # Remove LDFLAGS settings that are needed for building this port but not dependents
+    reinplace "/^LDFLAGS=/s/^.*$/LDFLAGS=''/" ${destroot}${prefix}/bin/krb5-config 
+}
+
 livecheck.regex             krb5-(\[0-9.\]+)-signed.tar
 livecheck.version           ${version}
 livecheck.type              regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/bd94fea1/attachment.html>


More information about the macports-changes mailing list