Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2013 14:21:36 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Tom Evans <tevans.uk@googlemail.com>, "Mikhail T." <mi+thun@aldan.algebra.com>, Kimmo Paasiala <kpaasial@gmail.com>, "free @217.75.128.14>> Current FreeBSD" <freebsd-current@freebsd.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Ports FreeBSD <freebsd-ports@freebsd.org>, Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
Subject:   Re: ports include /etc/src.conf? i.e. graphics/libfpx
Message-ID:  <20130215222135.GF55866@funkthat.com>
In-Reply-To: <20130214143445.GA5414@straylight.m.ringlet.net>
References:  <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> <CAFHbX1Lg4w8g30DrcEbvm%2B6sFvTDpRAt7OouBBBUs1iiMaEL5g@mail.gmail.com> <CA%2B7WWSfOHnYow56BggaG6_T8hGY9GZKTzuT_E7=LWex2Th0XQQ@mail.gmail.com> <511BBDAD.1080806@zedat.fu-berlin.de> <511CD83C.107@aldan.algebra.com> <CAFHbX1LKuDbKYSifFDsRYhc3eCd5g7c-ifAHF9jMSjqow6kVVA@mail.gmail.com> <511CE2AD.8050506@aldan.algebra.com> <CAFHbX1KJ9eDYa4UiZ5N53EEnF1dPmq13F-SvRaKyr=AJYdb79A@mail.gmail.com> <20130214143445.GA5414@straylight.m.ringlet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev wrote this message on Thu, Feb 14, 2013 at 16:34 +0200:
> There are some people - and some of them are well-respected long-term
> Free-and-other-BSD developers - who are of the opinion that the
> /usr/share/mk/bsd.*.mk infrastructure is meant for the base system build
> only.  I do indeed understand this point of view - and from this point
> of view, the port's Makefile.bsd is buggy because it allegedly abuses
> internal parts of the base system.

They are documented for use by everyone in the system...

hier(7):
                          mk/        templates for make; see make(1)

make(1):
     -m directory
             Specify a directory in which to search for the system makefile
             and makefiles included via the <...> style.  Multiple -m options
             can be specified to form a search path.  This path will override
             the default system include path, /usr/share/mk.  The system
             include path will always be appended to the search path used for
             "..."-style inclusions and makefile searches (see the -I option).

and:
     /usr/share/mk               default system makefile directory

make should not include the directory by default if it isn't designed for
use by people that use make...

If it /usr/share/mk is only for the default system, we need to fix make
to not include it by default, and make /usr/src/Makefile and friends do
the properly thing...  Until then, /usr/share/mk is for use by projects
outside /usr/src...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130215222135.GF55866>