Bug 97487

Summary: error in building security/gnutls
Product: Ports & Packages Reporter: TsurutaniNaoki
Component: Individual Port(s)Assignee: Roman Bogorodskiy <novel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description TsurutaniNaoki 2006-05-19 09:30:19 UTC
	building security/gnutls ceases with error about libtasn1.
	when libtasn1.so.3 exists in adequate path, building claims
		Error: shared library "tasn1.2" does not exist .
	this may caused by typo while update of ports, as i guess.

Fix: 

here is a patch:
	--- ports/security/gnutls/Makefile.orig	Fri May 19 17:17:57 2006
	+++ ports/security/gnutls/Makefile Fri	May 19 17:15:15 2006
	@@ -43,7 +43,7 @@
	 .endif
	
	 .if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
	-LIB_DEPENDS+=   tasn1.2:${PORTSDIR}/security/libtasn1
	+LIB_DEPENDS+=   tasn1.3:${PORTSDIR}/security/libtasn1
	 .endif
	
	 .if ${OSVERSION} < 600000
How-To-Repeat: 	
	% portupgrade gnutls-1.2.10_3
	...
	===>   gnutls-1.2.11 depends on shared library: tasn1.2 - not found
	===>    Verifying install for tasn1.2 in /usr/ports/security/libtasn1
	===>   Returning to build of gnutls-1.2.11
	Error: shared library "tasn1.2" does not exist
	*** Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-19 09:40:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->novel

Over to maintainer
Comment 2 Roman Bogorodskiy freebsd_committer freebsd_triage 2006-05-19 10:53:43 UTC
State Changed
From-To: open->closed

Committed, thanks!