From henrik@brixandersen.dk  Mon Jul  2 09:12:02 2007
Return-Path: <henrik@brixandersen.dk>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7035A16A400
	for <bug-followup@freebsd.org>; Mon,  2 Jul 2007 09:12:02 +0000 (UTC)
	(envelope-from henrik@brixandersen.dk)
Received: from solow.pil.dk (relay.pil.dk [195.41.47.164])
	by mx1.freebsd.org (Postfix) with ESMTP id 35C8213C4BA
	for <bug-followup@freebsd.org>; Mon,  2 Jul 2007 09:12:02 +0000 (UTC)
	(envelope-from henrik@brixandersen.dk)
Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189])
	by solow.pil.dk (Postfix) with ESMTP id 5750F1CC0DE;
	Mon,  2 Jul 2007 10:47:58 +0200 (CEST)
Received: by tirith.brixandersen.dk (Postfix, from userid 1001)
	id 7481BB840; Mon,  2 Jul 2007 10:47:57 +0200 (CEST)
Message-Id: <20070702084757.GA8274@tirith.brixandersen.dk>
Date: Mon, 2 Jul 2007 10:47:57 +0200
From: Henrik Brix Andersen <henrik@brixandersen.dk>
To: "M. Warner Losh" <imp@bsdimp.com>
Cc: freebsd-embedded@freebsd.org, bug-followup@freebsd.org
In-Reply-To: <20070701.190135.-1435633623.imp@bsdimp.com>
Subject: Re: [nanobsd] Build failure on RELENG_6 bin/11420
References: <4640DA7C.3090508@miralink.com> <20070701233235.GA875@tirith.brixandersen.dk> <20070701.190135.-1435633623.imp@bsdimp.com>

>Number:         114211
>Category:       bin
>Synopsis:       Re: [nanobsd] Build failure on RELENG_6 bin/114200
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 02 09:20:01 GMT 2007
>Closed-Date:    Mon Jul 02 09:53:08 GMT 2007
>Last-Modified:  Mon Jul 02 09:53:08 GMT 2007
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 --gKMricLos+KVdGMg
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sun, Jul 01, 2007 at 07:01:35PM -0600, M. Warner Losh wrote:
 > In message: <20070701233235.GA875@tirith.brixandersen.dk>
 >             Henrik Brix Andersen <henrik@brixandersen.dk> writes:
 =2E..
 > : [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D114200
 >=20
 > This patch is incorrect.
 >=20
 > +.if !defined(NO_INSTALLLIB)
 >=20
 > should be
 >=20
 > +.if ${MK_INSTALLIB} !=3D "no"
 
 Oh - thanks for catching this. I guess the same change should be done
 in lib/ncurses/ncurses/Makefile, then?
 
 Here's an updated patch:
 
 --- usr.bin/lex/lib/Makefile.orig	2007-07-02 01:06:20.000000000 +0200
 +++ usr.bin/lex/lib/Makefile	2007-07-02 10:41:47.000000000 +0200
 @@ -6,8 +6,10 @@
  SRCS=3D   libmain.c libyywrap.c
  NO_PIC=3D
 =20
 +.if ${MK_INSTALLLIB} !=3D "no"
  LINKS=3D  ${LIBDIR}/libln.a ${LIBDIR}/libl.a
  LINKS+=3D	${LIBDIR}/libln.a ${LIBDIR}/libfl.a
 +.endif
 =20
  .if ${MK_PROFILE} !=3D "no"
  LINKS+=3D ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
 
 
 And for good meassure - a patch for lib/ncurses/ncurses/Makefile:
 
 --- lib/ncurses/ncurses/Makefile.orig	2007-07-02 10:43:17.000000000 +0200
 +++ lib/ncurses/ncurses/Makefile	2007-07-02 10:44:14.000000000 +0200
 @@ -280,7 +280,7 @@
  INCSLINKS=3D	curses.h ${INCLUDEDIR}/ncurses.h
  .endif
 =20
 -.if !defined(NO_INSTALLLIB)
 +.if ${MK_INSTALLLIB} !=3D "no"
  SYMLINKS+=3D	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a
  SYMLINKS+=3D	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a
  SYMLINKS+=3D	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a
 
 
 --=20
 Henrik Brix Andersen <henrik@brixandersen.dk>
 
 --gKMricLos+KVdGMg
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 Comment: GnuPG signed
 
 iD8DBQFGiLu8v+Q4flTiePgRAn6uAKC4sRTpWXoE63jcSmoC0RrV3V20TgCgxn2z
 MiBRBbKxkj13Kh0brMjeYtM=
 =Z8wV
 -----END PGP SIGNATURE-----
 
 --gKMricLos+KVdGMg--
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jul 2 09:52:16 UTC 2007 
State-Changed-Why:  
Misfiled followup to bin/114200; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 2 09:52:16 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=114211 
>Unformatted:
