pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/40602; it has been noted by GNATS.

From: KAWAKUBO Hiroshi <kawakubo.pr%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40602 (net/ldns fails to compile on Mac OS X)
Date: Tue, 12 Apr 2011 19:47:23 +0900

 configure still fails on Mac OS X 10.5.8.
 
 checking for SSL... found in /usr
 checking for HMAC_CTX_init in -lcrypto... yes
 checking for library containing dlopen... none required
 checking for openssl/ssl.h... yes
 checking for openssl/err.h... yes
 checking for openssl/rand.h... yes
 checking for EVP_sha256... no
 checking for SHA256 and SHA512... checking for SHA256_Init... no
 configure: error: No SHA2 functions found in OpenSSL: please upgrade
 OpenSSL or rerun with --disable-sha2
 *** Error code 1
 
 
 sha2 function enabled by default from ldns 1.6.2,
 so the following patch fixes the issue.
 
 --- Makefile.orig      Thu Apr  7 10:59:59 2011
 +++ Makefile   Mon Apr 11 20:02:04 2011
 @@ -36,8 +36,8 @@
                ${ECHO} no;                                             =A5
        fi
  .endif
 -.if ${PLIST_VARS.sha2} =3D=3D "yes"
 -CONFIGURE_ARGS+=3D    --enable-sha2
 +.if ${PLIST_VARS.sha2} =3D=3D "no"
 +CONFIGURE_ARGS+=3D    --disable-sha2
  .endif
  CONFIGURE_ARGS+=3D    --with-ssl=3D${SSLBASE}
  CONFIGURE_ARGS+=3D    DOXYGEN=3D${FALSE}
 


Home | Main Index | Thread Index | Old Index