Subject: lib/9380: can't build libtelnet when CRYPTOBASE!=crypto-intl
To: None <gnats-bugs@gnats.netbsd.org>
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
List: netbsd-bugs
Date: 02/09/2000 10:15:44
>Number:         9380
>Category:       lib
>Synopsis:       can't build libtelnet when CRYPTOBASE!=crypto-intl
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb  9 10:15:01 2000
>Last-Modified:
>Originator:     
>Organization:
Univ. of Tokyo
	
>Release:        20000209 -current
>Environment:
	
System: NetBSD een 1.4S NetBSD 1.4S (EEN) #1: Wed Feb 9 21:35:46 JST 2000 root@een:/usr/src/syssrc/sys/arch/i386/compile/EEN i386


>Description:
	crypto-intl/lib/libtelnet/Makefile.frag assumes
	the directory level where crypto-intl resides in.
	this is inconsitent with share/mk/bsd.README's description
	that CRYPTOBASE can be outside of the source directory.

>How-To-Repeat:
	$ cvs -d <cvsroot> co basesrc
	$ cvs -d <cvsroot> co cryptosrc-intl
	$ cd basesrc/lib/libtelnet
	$ make

>Fix:
	apply the following patch.
cvs server: Diffing .
Index: Makefile.frag
===================================================================
RCS file: /cvs/cvsroot/cryptosrc-intl/crypto-intl/lib/libtelnet/Makefile.frag,v
retrieving revision 1.3
diff -u -r1.3 Makefile.frag
--- Makefile.frag       2000/02/07 05:29:10     1.3
+++ Makefile.frag       2000/02/09 17:53:37
@@ -1,5 +1,5 @@
 # $NetBSD: Makefile.frag,v 1.3 2000/02/07 05:29:10 assar Exp $
-DIST=          ${.CURDIR}/../../crypto-intl/dist
+DIST=          ${.CURDIR}/../../${CRYPTOBASE}/dist
 .PATH: ${DIST}/heimdal/appl/telnet/libtelnet .DOTLAST
 
 WARNS= 0

>Audit-Trail:
>Unformatted: