Subject: Re: Sample mk.conf file for /etc?
To: Andrew Brown <atatat@atatdot.net>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 04/23/2000 21:16:41
On Sun, 23 Apr 2000, Andrew Brown wrote:
-># >mk.conf is NOT just for pkgsrc if it's in /etc. It's for building
-># >anything, really. For example, I put the directives in there so
-># >that it doesn't build profiling libs when I build my system (I use
-># >them so infrequently...)... it's not specifically for pkgsrc,
-># no, but aren't most of the things it contains in there because of
-># pkgsrc requiring so many knobs and buttons?
->
->There appears to be an '.ifndef BSD_PKG_MK/.else' in there.
-
- where? i cvs update'd pkgsrc a few days ago and i don't see it...
Right here:
# $NetBSD: mk.conf.example,v 1.133 2000/04/20 04:02:55 wiz Exp $
...
# Deal with namespace issues. BSD_PKG_MK is always defined when "make"
# is invoked in pkgsrc, but never in src or xsrc. Don't forget to add the
# ".endif" at the bottom.
.ifndef BSD_PKG_MK
# Non-package stuff
.else
# Begin Package stuff
#
# Firstly, definitions for NetBSD and package collection...
#
...
--*greywolf;
--
BSD: Hackers tested, mom approved.