From owner-freebsd-current Sat Dec 9 12:29:53 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA11355 for current-outgoing; Sat, 9 Dec 1995 12:29:53 -0800 (PST) Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA11349 for ; Sat, 9 Dec 1995 12:29:46 -0800 (PST) Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id PAA01873; Sat, 9 Dec 1995 15:29:41 -0500 (EST) Date: Sat, 9 Dec 1995 15:29:37 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: Simple patch to /usr/src/lib/Makefile ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... Here's a patch to /usr/src/lib/Makefile that has it handle the creation of SUBDIR a little more intelligently. Instead of blindly figuring that *everyone* is going to want to install *all* libraries, it checks to make sure they exist before compiling. *** 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 Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc