The following reply was made to PR bin/147175; it has been noted by GNATS.
From: Andrew Reilly <[email protected]>
To: [email protected], [email protected]
Cc:
Subject: Re: bin/147175: libhx509.so containes references to MD2_* but
doesn't reference libcrypto.so, which has them
Date: Sun, 4 Jul 2010 12:41:16 +1000
--MP_/GDaVaIp3j5kTHLp_jjRC=av
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Fixed! Patch attached.
Turns out that to tell a shared lib about its dependencies, you
need to add a DPADD and LDADD (perhaps only the latter) to the
Makefile, as shown in the attached patch.
Evolution-data-server and other ports that link against the
gssapi-related libs now configure and build OK. Yay!
--
Andrew
--MP_/GDaVaIp3j5kTHLp_jjRC=av
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=libhx509.patch
--- Makefile.orig 2008-05-07 23:53:04.000000000 +1000
+++ Makefile 2010-07-04 10:05:58.000000000 +1000
@@ -82,6 +82,9 @@
SRCS+=${GEN_ASN1}
INCS+=${GEN_ASN1}
+DPADD+= ${LIBCRYPTO}
+LDADD+= -lcrypto
+
.ORDER: ${GEN} ${GEN_ASN1}
${GEN_OCSP} ocsp_asn1.h: ocsp.asn1 ../../tools/asn1_compile/asn1_compile
--MP_/GDaVaIp3j5kTHLp_jjRC=av--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"