Date: Sat, 9 Dec 1995 15:26:56 -0500 (EST) From: "Marc G. Fournier" <scrappy@hub.org> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/882: Makefile is not smart enough to bypass libraries... Message-ID: <199512092026.PAA01860@hub.org> Resent-Message-ID: <199512092030.MAA11402@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 882 >Category: misc >Synopsis: Makefile is not smart enough to bypass libraries... >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 9 12:30:01 PST 1995 >Last-Modified: >Originator: Marc G. Fournier >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: >Description: The Makefiles are not smart enough to recognize that various libraries have not been installed in /usr/src/lib directory, and then fail to compile as a result >How-To-Repeat: Don't install /usr/src/lib/libncurses because you have a newer version already installed that you don't want overwritten. >Fix: A simple patch to the Makefile in /usr/src/lib so that it checks for the existence of each of the library directories to create the SUBDIR listing: *** Makefile.orig Sat Dec 9 15:10:03 1995 --- Makefile Sat Dec 9 15:22:38 1995 *************** *** 10,19 **** .endif # XXX MISSING: libplot ! SUBDIR+= libc libcompat libcom_err libcurses libedit \ ! libf2c libforms \ ! libkvm libmd libmytinfo libncurses libpcap libresolv librpcsvc \ ! libscsi libskey libss libtermcap libutil libxpg4 liby libipx .if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT) SUBDIR+= libcrypt --- 10,24 ---- .endif # XXX MISSING: libplot ! DIRLIST= libc libcompat libcom_err libedit libf2c libforms \ ! libkvm libmd libmytinfo libncurses libpcap libresolv librpcsvc \ ! libscsi libskey libss libtermcap libutil libxpg4 liby libipx ! ! .for INDIR in ${DIRLIST} ! .if exists(${INDIR}) ! SUBDIR+= ${INDIR} ! .endif ! .endfor .if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT) SUBDIR+= libcrypt >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512092026.PAA01860>