bin/147175: libhx509.so containes references to MD2_* but doesn't reference libcrypto.so, which has them

Andrew Reilly areilly at bigpond.net.au
Sun Jul 4 02:50:04 UTC 2010


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

From: Andrew Reilly <areilly at bigpond.net.au>
To: bug-followup at FreeBSD.org, areilly at bigpond.net.au
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--


More information about the freebsd-bugs mailing list