[71244] trunk/dports/net/heimdal/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 5 20:40:50 PDT 2010


Revision: 71244
          http://trac.macports.org/changeset/71244
Author:   jeremyhu at macports.org
Date:     2010-09-05 20:40:46 -0700 (Sun, 05 Sep 2010)
Log Message:
-----------
heimdal: Remove openssl support until heimdal is updated for openssl-1.0.0

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

Modified: trunk/dports/net/heimdal/Portfile
===================================================================
--- trunk/dports/net/heimdal/Portfile	2010-09-05 23:49:38 UTC (rev 71243)
+++ trunk/dports/net/heimdal/Portfile	2010-09-06 03:40:46 UTC (rev 71244)
@@ -5,6 +5,7 @@
 
 name		heimdal
 version		1.3.3
+revision        1
 categories	net security
 maintainers	landonf openmaintainer
 platforms	darwin
@@ -63,13 +64,14 @@
     configure.args-append  --with-openldap=${prefix}
 }
 
-variant openssl description \
-    {Use OpenSSL libraries instead of internal ones for \
-         crypto and ssl related functions} {
-    depends_lib-append     port:openssl
-    configure.args-delete  --without-openssl
-    configure.args-append  --with-openssl=${prefix}
-}
+# heimdal fails with openssl-1.0.0a due to removal of md2
+#variant openssl description \
+#    {Use OpenSSL libraries instead of internal ones for \
+#         crypto and ssl related functions} {
+#    depends_lib-append     port:openssl
+#    configure.args-delete  --without-openssl
+#    configure.args-append  --with-openssl=${prefix}
+#}
 
 variant sqlite3 description \
     {Enable SQlite3 database support for keeping track \
@@ -79,9 +81,11 @@
     configure.args-append  --with-sqlite3=${prefix}
 }
 
-# Tiger does not have the CommonCrypto support needed for -openssl
-if {${os.platform} == "darwin" && ${os.major} < 9} {
-    default_variants +openssl
+post-patch {
+	# Tiger does not have the CommonCrypto support needed for -openssl
+	if {${os.platform} == "darwin" && ${os.major} < 9} {
+		reinplace "s:def __APPLE__: 0:" ${worksrcpath}/lib/hcrypto/evp-cc.c
+	}
 }
 
 test.run	yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100905/83108219/attachment.html>


More information about the macports-changes mailing list