pkgsrc-Users archive

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

Re: net/ldns installation problem on MacOSX


On Tue, 29 Sep 2009 18:02:12 +0900, Fredrik Pettai <> 

It boils down to net/ldns Makefile and the line CONFIGURE_ARGS+= --
SHA256 and SHA512 support doesn't seem to be included in the openssl
version in MacOSX (according to nm /usr/lib/libcrypto.dylib | grep -i

I tried to fix this problem by installing pkgsrc's security/openssl
(which includes the new sha modes) and adding CONFIGURE_ARGS+= --with-
ssl=${PREFIX} in net/ldns/Makefile. But, unfortunately didn't help

Does someone know a work-a-round or a proper fix for this problem?
(making CONFIGURE_ARGS+= --enable-sha2 work, that is...)

I don't know sha2 support should be enabled or not, but

If yes,
BUILDLINK_ABI_DEPENDS.openssl+= openssl>=0.9.8

If no,
detect openssl version same as lang/python25 and pass --enable-sha2 
(and also PLIST conditionally).

"Of course I love NetBSD":-)
OBATA Akio /

Home | Main Index | Thread Index | Old Index