source: trunk/dports/net/kerberos5/Portfile @ 136471

Last change on this file since 136471 was 136471, checked in by ryandesign@…, 4 years ago

kerberos5: blacklist old clang that doesn't know about LIBRARY_PATH (#47583)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 136471 2015-05-18 03:08:51Z ryandesign@macports.org $
3
4PortSystem                  1.0
5PortGroup                   github 1.0
6PortGroup                   compiler_blacklist_versions 1.0
7
8github.setup                krb5 krb5 1.13.2-final krb5-
9name                        kerberos5
10version                     1.13.2
11conflicts                   fbopenssl
12set branch                  [join [lrange [split ${version} .] 0 1] .]
13categories                  net security
14maintainers                 ryandesign openmaintainer
15license                     MIT BSD ISC OpenLDAP-2.8+
16platforms                   darwin
17homepage                    http://web.mit.edu/kerberos/
18
19description                 Kerberos is a network authentication protocol.
20
21long_description            Kerberos is a network authentication protocol. \
22                            It is designed to provide strong authentication \
23                            for client/server applications by using secret-key \
24                            cryptography. A free implementation of this protocol \
25                            is  available from the Massachusetts Institute of \
26                            Technology. Kerberos is available in many commercial \
27                            products as well.
28
29checksums                   rmd160  0d3248b49ac3bb08d6e5b0fdc3d8fd9168e293c7 \
30                            sha256  33da60a9297e1b6a58d1bc3c71f6bfb9ef441193a7904271437d8463e0cd1a54
31
32depends_build               port:python27
33
34depends_lib                 port:openssl \
35                            port:libcomerr \
36                            port:libedit
37
38worksrcdir                  ${worksrcdir}/src
39
40patchfiles                  patch-util__verto__Makefile.in-use-nonzero-compat-version.diff \
41                            patch-config__shlib.conf-do-not-pass-dylib-file-ldflags.diff \
42                            patch-lib_rpc_Makefile.in-explicitly-link-krb5support.diff
43
44use_autoreconf              yes
45# kerberos5 fails to build in its own presence, see #23769, #37944
46# remove ${prefix}/lib from configure.ldflags to allow linking against its own libs first
47# adding ${worksrcpath}/lib is not necessary and pollutes krb5-config --libs and pkg-config files
48configure.ldflags-delete    -L${prefix}/lib
49configure.python            ${prefix}/bin/python2.7
50configure.args              --mandir=${prefix}/share/man \
51                            --with-system-et \
52                            --without-system-db \
53                            --without-hesiod \
54                            --without-ldap \
55                            --without-tcl \
56                            --with-crypto-impl=openssl \
57                            --with-pkinit-crypto-impl=openssl \
58                            --with-libedit \
59                            --without-readline \
60                            --without-system-verto \
61                            --without-system-ss
62
63# Needs LIBRARY_PATH support
64compiler.blacklist-append   {clang <= 318.0.61}
65
66# i386 linking fails on SL with gcc-4.2 from XCode 3.2.6
67if {[lsearch ${universal_archs} i386] != -1} {
68    compiler.blacklist-append gcc-4.2 apple-gcc-4.2
69}
70
71post-configure {
72    reinplace -E {s|-arch [^ ]+||g} \
73        ${worksrcpath}/build-tools/krb5-config
74}
75
76livecheck.regex             krb5-(\[0-9.\]+)-signed.tar
77livecheck.version           ${version}
78livecheck.type              regex
79livecheck.url               http://web.mit.edu/kerberos/dist/index.html
Note: See TracBrowser for help on using the repository browser.