pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40602: net/ldns fails to compile on Mac OS X

>Number:         40602
>Category:       pkg
>Synopsis:       net/ldns fails to compile on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 10 16:45:00 +0000 2009
>Originator:     KAWAKUBO Hiroshi
>Release:        pkgsrc-current on Mac OS X 10.5.6
Darwin XXX 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; 
root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
net/ldns fails to compile on Mac OS X 10.5.6 with the following error during 

checking for SSL... found in /usr
checking for HMAC_CTX_init in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for openssl/rand.h... yes
checking for SHA256 and SHA512... checking for SHA256_Init in -lcrypto... no
configure: error: SHA2 enabled, but no SHA2 functions found in OpenSSL
*** Error code 1

The builtin OpenSSL on Mac OS X doesn't seem to support SHA256.

--- Makefile.orig       2009-01-26 23:38:13.000000000 +0000
+++ Makefile
@@ -19,4 +19,9 @@
+.include "../../mk/"
+.if ${OPSYS} == "Darwin"
+.include "../../security/openssl/"
+USE_BUILTIN.openssl=   no
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index