Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 1995 15:29:37 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        current@freebsd.org
Subject:   Simple patch to /usr/src/lib/Makefile ...
Message-ID:  <Pine.BSF.3.91.951209152712.1867A-100000@hub.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951209152712.1867A-100000>