ports/125625: [PATCH] dns/nsd: USE_RC_SUBR != yes

Jeremy Messenger mezz7 at cox.net
Wed Jul 23 19:41:00 UTC 2008


On Wed, 23 Jul 2008 10:13:58 -0500, Philip M. Gollucci  
<pgollucci at p6m7g8.com> wrote:

> Florent Thoumie wrote:
>> On Wed, Jul 23, 2008 at 1:12 PM, Ion-Mihai Tetcu <itetcu at freebsd.org>  
>> wrote:
>>> On Wed, 23 Jul 2008 13:08:03 +0100
>>> "Florent Thoumie" <flz at xbsd.org> wrote:
>>>
>>>> On Wed, Jul 23, 2008 at 12:30 PM, Olafur Osvaldsson
>>>> <osvaldsson at icelandic.net> wrote:
>>>>> This is something the PR responsible introduced in his original
>>>>> patch...
>>>> It's still present in your version. Anyway, I'm not blaming anyone,
>>>> just pointing out what I think is a mistake.
>>> So this is not for the user but for the port?
>>>
>>> I'll do a swap on the tree for it, because I'm sure there are more
>>> ports doing something like:
>>> .ifndef(NO_INSTALL_MANPAGES)
>>> ......
>>> .endif
> I was talking to itectu@ about this, and figured it would be better in  
> Mk/bsd.port.mk.
>
>
>> The general rule of thumb is: if it doesn't begin with WITH_ or
>> WITHOUT_, it's not user-settable. NO_INSTALL_MANPAGES is used for
>> ports using imake that don't understand the install.man target.
> /me thought that was the USE_ vs WITH(OUT)?_ difference.
>
> NO* is supposed to be user settable right ?

While I am here, have you gotten my email about scons?

http://lists.freebsd.org/pipermail/cvs-ports/2008-July/153324.html

----------------------------------------------
# pkg_info -IX scons
scons-0.98.5        A build tool alternative to make
# ls /usr/local/man/man1/ | grep scons
scons-time.1.gz
scons.1.gz
sconsign.1.gz
# pkg_delete -f scons-0.98.5
# ls /usr/local/man/man1/ | grep scons
[...empty...]
# cd /usr/ports/devel/scons
# grep NO Makefile
.if !defined (NO_INSTALL_MANPAGES)
# make NO_INSTALL_MANPAGES=yes install
[...]
Installed SCons scripts into /usr/local/bin
Installed SCons man pages into /usr/local/man/man1
===>   Registering installation for scons-0.98.5
# ls /usr/local/man/man1/ | grep scons
scons-time.1
scons.1
sconsign.1
# pkg_delete -f scons-0.98.5
# ls /usr/local/man/man1/ | grep scons
scons-time.1
scons.1
sconsign.1
----------------------------------------------

The scons plist is broke with NO_INSTALL_MANPAGES.

Cheers,
Mezz

>>  Now of course there are exceptions (usually for no good reason IMHO).
>> The likes of NOPORTDOCS/NOPORTEXAMPLES/... could be changed to
>> WITHOUT_DOCS/WITHOUT_EXAMPLES, it's just waiting for somebody to do
>> the work.
> Heh, maybe, I kind of feel like it will get reject as a style(9) change.
>
> I'm all for it though, not saying I'm going to do it though.


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list