This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
reflect reality (who's "cbr"?). Change PKGNAME to follow standard.
Remove commented out MASTER_SITES (I know how it got here, and I do this
myself too, but you have to make sure you delete it before committing,
Chuck :), remove unnecessary pre-install target (directories are created by
mtree).
the original logic went into a section of code assuming some
incarnation is there, but it's basically a "test -d" fix. Closes PR
ports/2082.
Reviewed by: max ("although I didn't test it, it looks fine")
(1) Change commented out MAINTAINER to FreeBSD_MAINTAINER and
OpenBSD_MAINTAINER. These are not comments anymore, so we may
even use it in the future.
(2) Instead of the ".if ${OPSYS} = "NetBSD" hack, use ".if exists()"
to find the location of md5 an tar. Play similar trick for fetch
(OpenBSD uses /usr/bin/ftp which groks http: addresses).
This commit includes most of the changes made in 1.242 (although many
of them are done differently after more discussion). One thing that
is conspicuously missing is NOMANCOMPRESS, which has been postponed
until Warner figures out what exactly the situation is on the OpenBSD
ports paradigm. (In a nutshell, we can't just define NOMANCOMPRESS in
this file even if uncompressed manpages is the default for OpenBSD,
because that will take away the ability of individual users to select
manpage compression.)
Reviewed by: imp@openbsd.org
and scripts/{pre,post}-* as environment vars. Also, if BATCH is
set, "BATCH=yes" is automatically added to SCRIPTS_ENV.
(Requested by: max)
(2) The INSTALL_* macros are added to SCRIPTS_ENV and MAKE_ENV as
BSD_INSTALL_*. (Requested by: obrien)
(3) New variable MOTIF_ONLY, which will only build ports with
REQUIRES_MOTIF defined. This doesn't do dependencies right (what
if the depended port doesn't need Motif) yet.
(4) Try not to clean the same port twice in clean-depends when (for
instance) it's defined in both BUILD_DEPENDS and INSTALL_DEPENDS.
Note that it won't check chained dependencies so you may still see
the same port cleaned multiple times, but checking that far will
surely make this run slower than the un-"optimized" case so I left
it as is. (Requested by: jkh)
(5) Ignore *.rej files in patches/ directory in addition to *~ and
*.orig.
Merge patches to nntpbtr.c submitted as PR #2428:
From: Dmitry Kohmanyuk <dk@genesyslab.com>
Subject: nntpbtr patch - looping in NEWNEWS
patch from serge@freenet.kiev.ua - locking when sleep + decl fix
patch from me (dk@farm.org): UDP time either closed on firewalls or unreliable
over dial-up, TCP time better anyway
Submiteed by: dk@farm.org
(Closing PR #2428.)
from bag@ua.net - correct free space check (without root's 10%)
Submitted by: dk@farm.org
Split this file (to patch to btrspc.c and to nntpbtr.c) and make the patch to
nntpbtr.c patch-ad. patch-ad will be added shortly with other patches
to nntpbtr.c submitted as PR #2428 merged.