Commit graph

1510 commits

Author SHA1 Message Date
jlam
ffec0a5c18 Add a new package-settable variable, INSTALLATION_PREFIX, as discussed
with gavan@NetBSD.org at pkgsrcCon.

Within the pkgsrc infrastructure, LOCALBASE has two different meanings:

    (1) where the package being built should be installed, and
    (2) where to find previously installed packages.

Most instances of case (2) should be converted to use EVAL_PREFIX,
but there are some cases where this is impossible.  To resolve this,
we preserve LOCALBASE to mean (2) and we create a new variable
INSTALLATION_PREFIX to mean (1).

INSTALLATION_PREFIX is meant to be set some time before bsd.pkg.mk is
included, and provides the value for PREFIX if it's defined, e.g.

	NO_MTREE=               yes
	INSTALLATION_PREFIX=    /

	.include "../../mk/bsd.pkg.mk"

This allows us to remove all cases where PREFIX is explicitly set in
the package Makefile, e.g. Java VM packages, qmail, etc.
2004-05-17 04:44:44 +00:00
wiz
ec3d725a1d No USE_BUILDLINK2 package sets USE_FORTRAN any longer -- convert support
to bl3 and remove f2c's buildlink2.mk file.
2004-05-12 13:23:08 +00:00
jschauma
b639c76d93 INSTALL_GAME should be exported a as BSD_INSTALL_GAME 2004-05-12 01:37:42 +00:00
jschauma
559a086093 Introduce new variables:
SETGIDGAME:  specifies whether or not certain games are installed setgid
GAMEGRP:     the group owning games if SETGIDGAME is set
GAMEOWN:     the user owning games if SETFIDGAME is set
GAMEMODE:    the mode to install games as

Use these to provide INSTALL_GAME (for example for PR pkg/25313), and
set them to meaningful values under NetBSD.
2004-05-12 01:03:58 +00:00
reed
91e9b985e1 Rename NO_CONFIGURE_INFODIR to CONFIGURE_HAS_INFODIR (which defaults to
"yes"). So any packages that have old GNU configure script that
does not support --infodir option (while using INFO_FILES) can set
CONFIGURE_HAS_INFODIR=NO.

This was suggested by agc@ as a clearer definition.
2004-05-08 16:14:55 +00:00
reed
b1c2609f21 If using GNU_CONFIGURE then set --infodir to ${PREFIX}/${INFO_DIR}.
I have used this successfully to install over 300 info files
using INFO_DIR=share/info.

Also add new variable called NO_CONFIGURE_INFODIR (as suggested
by Greg Woods) because some autoconf-style configure scripts
don't know --infodir. (The alternative is to use HAS_CONFIGURE
and add the needed CONFIGURE_ARGS.)

Please note that the info tool may not find custom INFO_DIR
unless it is configure to know it. (I will update gtexinfo
for this, but if using native info you are on your own
if you customize this.)
2004-05-08 02:13:00 +00:00
tv
19a94159ac Add a new install macro INSTALL_LIB for use when installing libraries
(mainly intended for shlib use, but for homeful use on all libraries so
that currently static libs can be "provisioned" for future shlib use).
2004-04-27 22:35:47 +00:00
jlam
a7faf8acc5 Move the inclusion of tools.mk ahead of bsd.buildlink3.mk so that tools.mk
can include buildlink3.mk files.  This change also causes work/.tools/bin
to appear after work/.buildlink/bin in the PATH, but we never relied on
this behaviour, so this side-effect should have no impact.
2004-04-27 19:23:34 +00:00
jlam
4416befa38 Allow perl-thread to also be acceptable when USE_PERL5 is defined. 2004-04-26 05:13:06 +00:00
tv
f5324d17bb ROOT_USER is parameterized, so use it in human-readable printed messages
as well.
2004-04-26 03:07:46 +00:00
tv
88a6915436 Make sure PKGDIRMODE is always set in bsd.prefs.mk so it can be checked
in lang/perl58/Makefile.  (It had been set previously only in bsd.pkg.mk.)
2004-04-25 22:42:51 +00:00
grant
c5d2708be9 flow.dl.sourceforge.net has been unreachable for a while now, due to
what appears to be a routing loop. comment it out for the moment.
2004-04-24 11:31:57 +00:00
tv
16fb5e30af Rather than work around an automake braindeadness, parameterize install-sh
so that Interix can set the default mode to 0775.  Then add "install_sh"
to CONFIGURE_ENV so it uses ${INSTALL}, not the package-supplied
install script (as is done for autoconf $INSTALL).
2004-04-23 02:03:18 +00:00
danw
66222702cb add an ${INSTALL_UNSTRIPPED} variable that can be used to block
${_STRIPFLAG_INSTALL}
2004-04-23 01:21:12 +00:00
tv
937e7dd858 Automake has done it again with this amazing variable that CONFIGURE_ENV
can't change at configure time.  "mkdir_p" is now used by automake in place
of the traditional autoconf "INSTALL_DIR".  Override mkdir_p in MAKE_FLAGS,
if GNU_CONFIGURE is set, with ${INSTALL_DATA_DIR}.
2004-04-22 17:46:05 +00:00
minskim
48464d2ca8 Add VIEWBASE to SCRIPTS_ENV. This fixes the problem that pkgviews
packages using imake install files into X11BASE instead of PREFIX.
2004-04-17 22:37:14 +00:00
tv
309dbb72ad Add another fix to previous; reverse the lines in the output. From
pkg_delete, recursion is depth-first, which is wrong for "make update".
Instead, make sure that "closer" dependencies are at the top of the file.
2004-04-16 14:27:38 +00:00
tv
2445e1de31 Provide a quick fix for PR pkg/25187 so that "make update" DTRT with
dependencies again.

This is not a good long term solution; I'm still working on that as an
option to pkg_info to recurse the dependency tree.
2004-04-15 15:37:39 +00:00
jmmv
405467ddb9 Only do the dirs.mk dance when PKG_INSTALLATION_TYPE is overwrite.
The -dirs packages are simply useless in a pkgviews world.
2004-04-14 20:15:59 +00:00
jmmv
6bb0eff02e Rework the way to use the -dirs packages (ATM, xdg-dirs, xdg-x11-dirs,
gnome1-dirs and gnome2-dirs):

- Introduce a global USE_DIRS variable, which takes pairs of names and
  versions.  For example, an xdg-1.1 value will request the use of the
  xdg-dirs package, at least version 1.1.  This variable must always be
  appended to.  If there are duplicates with different versions, the
  one with the higher number will be picked up.

- Introduce the mk/dirs.mk file, which is automatically included by
  bsd.pkg.mk when USE_DIRS is not empty.  It parses the variable's value
  and includes the required dirs.mk files, present in each -dirs package.

- For each -dirs package, add a dirs.mk file that defines a variable
  holding the list of directories provided by it, adds a dependency on
  that package, and modifies the PRINT_PLIST_AWK variable to output
  comments for the directories handled by it.

- Drop some Makefile.common files that only make things difficult and
  more confusing now (in favour of the new dirs.mk files).  The only thing
  to worry about is to keep version numbers consistent across xdg-* and
  gnome*-* packages, but that will be easier to handle.

The main reason for this change is to be able to modify PRINT_PLIST_AWK in
a clean way, but I hope this will improve clarity too.  Also, this simplifies
the addition of future -dirs packages (if needed) in a consistent way.
2004-04-14 15:26:41 +00:00
jmmv
9cc55cb3b9 Introduce support for the PRINT_PLIST_AWK variable. This can be used to
provide extra awk expressions that are used while generating the PLIST
with the print-PLIST target (before the final 'print' is done), so that
it is closer to reality.  Ok'ed by wiz@ and hubertf@.
2004-04-12 20:48:07 +00:00
jschauma
47f638d68c egrep -x 'RE'
is the same as

egrep '^RE$'

Not all egrep's know the '-x' flag, so use the latter.
2004-04-11 20:17:37 +00:00
tv
61606d9102 Convert "${ECHO} -n" to "${ECHO_N}", and introduce that into the defs.*
files.  On most platforms this resolves back to "${ECHO} -n".
2004-04-07 14:26:50 +00:00
xtraeme
6e02e09489 Support DEPENDS_TARGET="install clean"; from Allan Barrett in
PR pkg/25059.
2004-04-05 08:06:07 +00:00
reed
67e6eed715 To view the license, use "${MAKE} show-license" not "make show-license".
This is consistent with other messages shown to user.
2004-04-03 06:22:39 +00:00
tv
c56f20f096 Undo implicit recursive package registration. The buildlink[23] system is
already taking care of this where it's truly needed.  OK'd by agc.
2004-04-02 19:09:18 +00:00
wiz
90cdaab614 Get rid of dd workaround for old paxes (last seen in NetBSD before 1.5;
bootstrap pax doesn't need it either).  Closes PR 18814 by Greg A. Woods.
2004-03-31 11:19:09 +00:00
grant
922933018f if NO_BUILD is defined, default to an empty USE_LANGUAGES. 2004-03-31 10:14:22 +00:00
grant
bd496517b3 tweak whitespace in comment 2004-03-31 10:07:47 +00:00
grant
b8453b63fc fix comment about needing patch(1). 2004-03-31 10:00:43 +00:00
jlam
2d21729286 Use X11_TYPE check instead of USE_PKGSRC_XFREE86. It's safe to use the
value of X11_TYPE here since it's defined in bsd.buildlink3.mk which is
included before this check.  This fixes breakage for packages that set
USE_X11 due to USE_PKGSRC_XFREE86 not being defined before it's used.
2004-03-29 16:01:39 +00:00
jlam
7117873f09 Make lang/perl58 the default perl package installed when a package needs
Perl as a dependency.
2004-03-29 06:52:23 +00:00
jlam
7093b7b2c1 Set DFLT_PKG_SYSCONDIR to the location that PKG_SYSCONFDIR would have
been set to if it hadn't been overridden by PKG_SYSCONFDIR.<pkg>.  This
can be used in /etc/mk.conf to re-override certain PKG_SYSCONFDIR.<pkg>
in /etc/mk.conf from various package Makefiles, e.g.

	PKG_SYSCONFDIR.openssl=		${DFLT_PKG_SYSCONFDIR}
	PKG_SYSCONFDIR.tcp_wrappers=	${DFLT_PKG_SYSCONFDIR}
2004-03-29 06:49:04 +00:00
grant
1dbeb69946 wrap a long line in BUILD_DEFS output, tweak the message slightly. 2004-03-27 08:06:24 +00:00
jlam
2e83c332f1 Due to the special handling of pkgtools/digest in pkgsrc (it must be
installed before the normal dependency checks), on a system without
any packages installed, we can run into the problem where digest won't
install because it has already been installed as part of installing
a build dependency.  This can happen if, e.g., PKGSRC_COMPILER is set
to "ccache gcc", and you try to build devel/gmake.

Change the way that the uptodate-digest target installs pkgtools/digest
by ensuring that pkgtools/digest is deinstalled just before installing
it.
2004-03-22 04:07:15 +00:00
danw
5ba4f8d036 When using imake and buildlink together, assert our definitions of
CC and CXX on the make command line, in case imake's definitions use
complete paths (which would get around the buildlink wrappers)
2004-03-19 00:03:55 +00:00
danw
2e9fe03351 fix a file descriptor leak in the darwin PLIST so->dylib translation
script that broke packages that installed too many shared libraries
(eg libwww).
2004-03-17 16:36:28 +00:00
jlam
9ffc47d061 Test was reversed. 2004-03-13 20:58:06 +00:00
jlam
b9c8a5cb23 If USE_DIGEST is "no", then skip the check for an up-to-date digest.
XXX These changes should be removed once we have a working
XXX pkgsrc/bootstrap.
2004-03-13 20:54:16 +00:00
jlam
7f150e367b Discard unused error messages from "pkg_admin pmatch". 2004-03-13 19:43:03 +00:00
agc
530d286b24 Get rid of all occurrences of cpp-like tests for ${OPSYS} in
bsd.pkg.mk, and use the abstracted means of determining generic shared
lib type per operating system.
2004-03-11 22:57:22 +00:00
tv
d2ac0bb878 Interix libs are close enough to ELF that only file(1) knows the difference.
Call it ELF.
2004-03-11 21:19:00 +00:00
tv
e53f7683c5 Use ${DO_NADA} to introduce a do-nothing line (as is done elsewhere in
pkgsrc); simply # makes older bmake hork up in combination with some shells.
2004-03-11 19:37:20 +00:00
reed
5320c1f42e Change LIBTOOL_REQD to recent libtool version, 1.5.2nb4. (This
libtool-base includes "Fix version_type settings for the non-NetBSD
platforms in the CXX and F77 cases." And "Pull in the fix for the
symlink vulnerability.")

Several packages have been changed to reflect the better libtool-base,
but old LIBTOOL_REQD allowed old 1.4.2 version. So new packages had
wrong library versioning like: libasprintf.so.0.0, libsvn_delta-1.so.0.0,
and libXrender.so.0.0.

Okayed by wiz@.
2004-03-09 19:22:24 +00:00
tron
2ab02f0244 Remove "ftp.gwdg.de" from "MASTER_SITE_GNU" because its mirror is
apparently not updated any more.
2004-03-09 13:33:19 +00:00
drochner
630848934b extend REPLACE_INTERPRETER to accept shell wildcards 2004-03-02 15:25:23 +00:00
jdolecek
5de88db7be need to escape ) in the awk regex in do-config-status-override target;
some pickier awks (e.g nawk) refuse the regex otherwise
2004-02-28 07:12:21 +00:00
jlam
a586842ec0 Instead of wrapping the config.status script, edit it directly to prevent
--recheck from re-executing the configure script by inserting "exit 0"
judiciously.  This works with configure scripts generated by autoconf>=2.13
and fixes problems with running config.status on Solaris systems where
/bin/sh isn't POSIX enough.
2004-02-27 16:50:48 +00:00
grant
06ed628513 s/netbsd.org/NetBSD.org/, s/freebsd.org/FreeBSD.org/ 2004-02-25 09:24:52 +00:00
jlam
82d8d5199f Rename PATH_ENV to BUILD_ENV, which better expresses what it's for.
BUILD_ENV is used to set the environment for the sub-make processes that
are invoked for each phase after and including buildlink.
2004-02-21 12:29:23 +00:00
jlam
c40ee95964 * Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.
Package Makefiles may now directly include compiler.mk.

* Don't include compiler.mk within bsd.prefs.mk any longer.  It was only
  included for the purposes of defining CC_VERSION.  Packages that want
  to test the value of CC_VERSION should now first include
  "../../mk/compiler.mk".  Any GCC_REQD statements in package Makefiles
  should be set before compiler.mk is included.

* Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to
  be included indirectly by bsd.prefs.mk.  We remove the special handling
  associated with detecting whether the file was included from within
  bsd.prefs.mk.  These files are now much more straightforward to write
  and understand.

* G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*)
  no longer need it.

* Ensure that directories are prepended to the PATH only from within
  bsd.pkg.mk.
2004-02-18 13:32:38 +00:00
jlam
2eb8293c09 G/C the unused GNU_MISSING_OVERRIDE logic, as we don't need it anymore
after the changes in revision 1.27 of tools.mk to hide the auto* tools
between pre-configure and do-configure.
2004-02-17 12:16:39 +00:00
jlam
f72a85a532 Be less aggressive about overriding all of the functionality of
config.status.  Instead, only block "config.status --recheck", which
re-executes the GNU configure script.  This still allows config.status to
overwrite post-configure changes to Makefiles and config.h files, so those
changes should (properly) be applied to Makefile.in and config.h.in
instead.
2004-02-16 20:25:18 +00:00
seb
28ddfa550f Handle compressed info files in PLIST handling. 2004-02-16 13:21:34 +00:00
seb
b6b6fefbf6 Quote '+' in awk regexp related to PLIST and INFO_FILES.
As seen in devel/libg++ with its libg++.info file...
2004-02-16 11:28:13 +00:00
seb
daa975015f Use relative to ${WRKSRC} pathnames in do-gnu-missing-override target
by cd'ing into it. Also symlink the missing script instead of copying it.
2004-02-14 18:29:17 +00:00
jlam
c24ff672f7 Make LIBTOOL_OVERRIDE more powerful by taking a list of shell globs
relative to ${WRKSRC}.  Also automaticslly set LIBTOOL_OVERRIDE if
USE_LIBTOOL is defined, as the vast majority of packages need both if they
need USE_LIBTOOL.  The default LIBTOOL_OVERRIDE overrides libtool scripts
up to a directory depth of 2 within ${WRKSRC}.

Note that SHLIBTOOL_OVERRIDE must still be set manually in package
Makefiles that need it; however, it's also been changed to be a list of
shell globs relative to ${WRKSRC}.
2004-02-14 17:18:49 +00:00
jlam
9822f69382 Make CONFIG_{GUESS,SUB}_OVERRIDE slighly more powerful by allowing them to
be lists of shell globs relative to ${WRKSRC}.
2004-02-14 15:22:42 +00:00
jlam
e694fd214d Change into ${WRKSRC} first so that shell globs expand properly. 2004-02-14 15:16:31 +00:00
jlam
9ae3d0260c Some shells barf if the for loop list is empty, so avoid that. 2004-02-14 13:58:34 +00:00
jlam
f598249781 Default to overriding config.status after GNU configure has been run. We
don't want it to execute during the build phase as it might overwrite
post-configure changes we might have made to the generated files.  Packages
that don't want this behaviour can simply set:

	CONFIG_STATUS_OVERRIDE=	# empty

in the package Makefile.
2004-02-14 13:54:28 +00:00
grant
54133ebbb0 deprecate Zoularis: remove any tests for ZOULARIS* and bomb if
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
2004-02-14 03:26:09 +00:00
jlam
1e761fc8e2 GNU configure scripts generated by newer autoconf sometimes try to
save the value of LDFLAGS, CPPFLAGS, etc. in the config.cache file.
However, they don't store the value correctly if it contains leading
spaces.  This leads to sub-configure scripts that examine to cache to
error out saying that the build environment changed.  Use a make
variable trick to strip off all of the leading spaces on these variables
when passing them via CONFIGURE_ENV.
2004-02-14 02:28:19 +00:00
grant
6f27874b98 if using GNU configure and CONFIG_{GUESS,SUB}_OVERRIDE is not defined,
default to overriding ${WRKSRC}/config.{guess,sub} so packages can
recognise platforms such as NetBSD/shark.
2004-02-14 00:40:55 +00:00
wiz
6fdf068086 Fix spelling of "suffixes". From Todd Vierling in PR 24400. 2004-02-13 19:02:07 +00:00
sketch
a824d68d32 Allow more case variations on "Makefile" to be included in USE_PKGLOCALEDIR
transformations.
2004-02-13 12:03:06 +00:00
jlam
823b439aa9 typo in comment 2004-02-12 23:12:27 +00:00
xtraeme
e9b16f0801 Enable EXTRACT_{ONLY,SUFX}= .rar. Ok'ed by jlam 2004-02-12 21:29:28 +00:00
seb
15e433f451 Always add --x-{includes,libraries}=${X11BASE}/{include,lib}
to CONFIGURE_ARGS if USE_X11 is defined  i.e no need to special case
xpkgwedge usage.

Please note that previously these were added to CONFIGURE_ARGS
as soon as xpkgwedge was used even if the package did not actually
defined USE_X11 or something implying it.
2004-02-12 15:34:18 +00:00
jlam
2e64cac841 Double-check that the files named in GNU_MISSING_OVERRIDE actually exist
before replacing them.
2004-02-12 13:39:57 +00:00
jlam
b86fdace10 GNU_MISSING_OVERRIDE is a list of files relative to ${WRKSRC} that are
replaced by pkgsrc/mk/gnu-config/missing.  This avoids requiring
autoconf and automake as hidden build dependencies when they're not ever
invoked by the build process.
2004-02-12 13:30:04 +00:00
jlam
46be3a2bb2 Remove trailing whitespace. 2004-02-12 13:16:02 +00:00
jlam
5a33ba7f62 Several GNU configure scripts (old ones, typically) can't handle it when
"${MAKE}" contains forward slashes.  Just pass the bare name of ${MAKE} to
the configure phase as we ensure that "make" is always calling the correct
one symlinked into the .tools directory.
2004-02-12 09:59:48 +00:00
seb
d9d8a581de Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC. 2004-02-12 08:55:33 +00:00
xtraeme
3734d75394 Add another mirror to MASTER_SITE_SUSE, needed for emulators/suse_x11
package.
2004-02-11 10:34:05 +00:00
jlam
322907088c The values of CC are CC_VERSION are redundant. Just use CC_VERSION. We
record it only if the package actually used the compiler.
2004-02-10 22:33:47 +00:00
jlam
99b8496906 Turn PERL5_REQD into a list of values, the highest of which will be used
to choose the correct Perl dependency.
2004-02-10 02:18:04 +00:00
jlam
7640e84b2d Limit xargs to 256 args when passing args to ls for the package size
computation.  The motivation for this is that kdelibs3 was overflowing ls
through xargs.
2004-02-09 05:42:57 +00:00
jlam
c87c81fc09 Also turn shlibtool into a shell script instead of a symlink. This
duplicates the change made in rev. 1.1368 for libtool.
2004-02-09 01:52:14 +00:00
jlam
8396978738 We need the full path to the libtool that needs to be invoked when we
use LIBTOOL_OVERRIDE.  In the buildlink[23] case, that is supposed to be
the one in ${BUILDLINK_DIR}.  Create new private variables _LIBTOOL and
_SHLIBTOOL to hold these paths.
2004-02-09 01:30:59 +00:00
seb
5382b9e4ab It's not PKGSHLIBTOOL anymore but PKG_SHLIBTOOL. 2004-02-08 10:39:35 +00:00
jlam
7edd809ba5 Use ${PKG_LIBTOOL} to refer to the full path to the real libtool. 2004-02-08 03:50:43 +00:00
jlam
3f0c4ee09a * Let CC/CXX/CPP/FC always point to the compiler used in the actual
building of software.  For packages that use either buildlink2 or
  buildlink3, this would be the wrapper script in ${BUILDLINK_DIR}.

* Garbage-collect _BLNK_WRAP_SETENV.* as those are not needed after
  the above changes.  Configure and make processes will automatically
  find the right compilers in the PATH.

* PKGLIBTOOL and PKGSHLIBTOOL are no longer needed since LIBTOOL and
  SHLIBTOOL point to the correct libtools regardless of any
  USE_BUILDLINK[23] definitions.
2004-02-08 02:59:14 +00:00
jlam
8637091a4a Don't pass PREPEND_PATH via MAKEFLAGS as that overrides whatever value
that we're trying to compute for PREPEND_PATH.  Instead, pass it through
the environment.
2004-02-07 02:56:14 +00:00
jlam
c49973f61a If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
fixes breakage when executing the just-in-time su targetes.
2004-02-06 18:45:02 +00:00
jlam
fd4c71ddde Allow an empty USE_LANGUAGES setting to not break in show-shlib-type.
If we're not compiling anything, we're likely not installing any shared
libraries.
2004-02-06 03:10:29 +00:00
jlam
bed8d4d73e We only prepend a directory to the PATH if we haven't already done so
(by checking PREPEND_PATH) and only for those phases of the build that
care about the PATH (buildlink or later).  We also pass the PATH to
those same phases of the build so that executing ${CC} will work correctly
from custom {pre,do,post}-* targets that occur at buildlink time or
later.
2004-02-06 03:04:50 +00:00
hubertf
0fa1a52030 Back out bikeshed material added in rev. 1.1371 2004-02-05 17:20:46 +00:00
jlam
5bd1a3cdb9 Pass the PATH when executing ${CC} so that the compiler may be found when
CC is something like ccache or distcc that relies on finding the true
compiler in the PATH.
2004-02-05 07:37:48 +00:00
hubertf
f3d1d8cfb0 When a pkg is already found install, tell the user to 'make deinstall'
instead of running pkg_delete to be consistent with the other commands
(which all use 'make ...').
2004-02-05 05:05:54 +00:00
jlam
629be8a499 Include bsd.compiler.mk inside both bsd.pkg.mk and bsd.prefs.mk and define
a stack-like mechanism in bsd.prefs.mk to detect when a we're inside
bsd.prefs.mk.
2004-02-05 03:37:47 +00:00
jlam
33bcdd24b7 Kerberos-using packages now set CRYPTO, not RESTRICTED. Approved by pkgsrc
PMC.
2004-02-02 11:34:17 +00:00
jlam
bfa06a27b3 When overriding libtool in the source directory, replace it with a shell
script that invokes the correct libtool instead of using a symlink.  This
fixes the problem where libtool was invoked by /bin/sh regardless of
whether libtool was built to be run by /bin/ksh instead.
2004-02-01 01:09:09 +00:00
xtraeme
3ac6ad1ffd Add some new variables for manual pages when using imake.
They are:

	o IMAKE_KERNMAN_DIR (man4 or cat4)
	o IMAKE_MISCMAN_DIR (man7 or cat7)
	o IMAKE_KERNMAN_SUFFIX
	o IMAKE_MISCMAN_SUFFIX

Ok'ed by Hubert Feyrer in private email.
2004-01-31 16:52:16 +00:00
jlam
e9dde6bfe9 It's GNU_CONFIGURE_PREFIX, not CONFIGURE_PREFIX. 2004-01-31 07:07:33 +00:00
grant
be21271b07 let tools.mk decide whether GNU patch is needed. 2004-01-29 10:22:01 +00:00
grant
01b9c194a6 add GNU gnu patch(1), to override patch(1) on some platforms. 2004-01-29 09:38:10 +00:00
jschauma
1cce0bd065 Some licenses are pretty long, so use $PAGER instead of $CAT, if $PAGER
is set.
2004-01-28 20:29:46 +00:00
agc
c156ab5d49 Replace all occurrences of the "MAIL" definition with MAIL_CMD, since
some shells can set MAIL to be the mailbox of the user, and
environment variables will override assignments in make when using
conditional assignments.
2004-01-27 16:11:47 +00:00
jlam
2116fcb603 "fetch" is also a distinct build phase. 2004-01-27 02:36:59 +00:00