Commit graph

5107 commits

Author SHA1 Message Date
wiz
d5a0e27f9a In the bin-install target, instead of running pkg_add for every
BINPKG_SITES entry separately, construct an appropriate PKG_PATH
and call pkg_add only once. Patch from Chapman Flack in PR 30929.

Use PKGNAME_REQD when installing package dependencies.
Patch from Chapman Flack in PR 30954.
2006-01-03 17:26:56 +00:00
jlam
d7e2d97754 Instead of patching the generated config.status script, patch the GNU
configure script itself so that the generated config.status script
does what we want (just exit if asked to "recheck").  This ensures
the timestamp for config.status is earlier than the timestamps for
the files that config.status generates (Makefile, config.h, etc.).

This fixes some problems where some packages end up "rebuilding" as
part of the install target, which makes the rebuilt files owned by
root and makes cleaning the work directory fail.
2006-01-03 00:41:51 +00:00
dmcmahill
ce2d3019e4 Change some remaining ONLY_FOR_ARCHS to ONLY_FOR_PLATFORM and NOT_FOR_ARCH to
NOT_FOR_PLATFORM that were missed when these variables were changed ages ago.
2006-01-02 23:24:58 +00:00
rillig
e4af2b5124 Fixed some cases where the exitcode of child processes has been ignored.
This will cause package builds to fail instead of hiding bugs.
2006-01-01 22:52:16 +00:00
rillig
9a74bcedfd Fixed trivial pkglint warnings:
- Removed leading white-space in dependency lines.
- s/existant/existent/.
2006-01-01 22:30:35 +00:00
wiz
faf65456ad Remove stuff that was marked for removal after 2005Q4. 2006-01-01 18:53:03 +00:00
tron
6596c8826a Provide defaults for "HOWL_GROUP" and "HOWL_USER" which will be used by
future version of the "howl" package.
2006-01-01 18:25:07 +00:00
tron
ca6d8eca2f Move entry for "MLDONKEY_GROUP" to correct location. 2006-01-01 17:06:12 +00:00
wiz
9eaffc2f2f Remove obsolete TIN_USE_INN_SPOOL option. 2006-01-01 16:11:54 +00:00
wiz
3b9c142626 Describe curses and tin-use-inn-spool options. 2006-01-01 16:11:24 +00:00
rillig
c666e33407 Don't check for PKG_FAIL_REASON when doing show-depends-dirs. This prevents
packages that set PKG_FAIL_REASON from being excluded from the bulk build
databases like .index and .dependstree.
2005-12-31 15:20:59 +00:00
wiz
14b750b437 Fix some quoting as per PR 30956 by Chapman Flack. 2005-12-31 08:18:34 +00:00
wiz
8466aed83c If target is real-su-bin-install, set DEPENDS_TARGET to bin-install.
From Chapman Flack in PR 30928.
2005-12-31 08:05:00 +00:00
wiz
62a3e4fd03 Handle automatic dependencies in bin-install correctly.
From Chapman Flack in PR 32422.
2005-12-31 07:53:11 +00:00
minskim
7eded7fe00 Fix a typo (show-depends-dir -> show-depends-dirs). 2005-12-31 02:06:10 +00:00
jlam
ffa70a6b31 Skip charset.alias as it's another generated index file that changes
over time.
2005-12-30 23:11:55 +00:00
jlam
e88d408616 Add some X11 font database files that are generated by mkfontdir,
mkfontscale, ttmkfdir, etc., to the list of skipped files.  We don't
care about these because they're constantly being regenerated, sometimes
during the package's install phase.
2005-12-29 22:39:09 +00:00
jlam
b98b9b5564 Add comments for the skipped files for CHECK_FILES. 2005-12-29 22:32:20 +00:00
markd
f62733a6ab X11BASE defaults to /usr/openwin on Solaris, but only when using the
native X11_TYPE.  Allow X11BASE to default correctly on Solaris when
X11_TYPE= XFree86 or xorg.
2005-12-29 21:18:11 +00:00
jlam
6517d6f417 Allow avoiding the automatic update of the fonts databases by setting
PKG_UPDATE_FONTS_DB=no in the environment or /etc/mk.conf.  This can
be beneficial when installing large numbers of fonts packages into
the same directories as it avoids destroying and recreating the same
database files over and over again.  This might make it possible
someday to run fc-cache, which is sometimes very time-consuming, from
the +FONTS script automatically.
2005-12-29 14:10:01 +00:00
jlam
5128d7a9bb Test that a variable is defined before checking its value. Fix from
Thomas Klausner.
2005-12-29 13:47:43 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
4ab7433a2c Teach the pkgsrc infrastructure to Just Know when the pkginstall
framework should be used.  This is implemented by creating a small
file mk/install/pkginstall.mk that guards the implementation makefile
mk/install/bsd.pkginstall.mk.  This guard file just checks whether
one of the pkginstall-related variables is non-empty, and if so, then
the implementation file is automatically included.  This completely
deprecates USE_PKGINSTALL, which no longer has any affect in pkgsrc.
2005-12-29 06:18:53 +00:00
jlam
f0aa85ac53 Re-implement the pkgsrc fonts-handling by integrating it into the
pkginstall framework:

  * Rewrite the mk/install/fonts script fragment as a scriptlet that's
    generated by the +INSTALL script during package installation.

  * Rename the FONTS_<TYPE>_DIRS variables to FONTS_DIRS.<type> to
    be more consistent with how "families" of variables are currently
    named in pkgsrc.

  * Rewrite mk/fonts.mk so that it's implemented in terms of the new
    functionality in the pkginstall framework.  This file will be
    obsoleted in the near future after packages have been transitioned
    to use the new functionality in the pkginstall framework.  Currently,
    packages will continue to work with no changes.

Integrating the fonts-handling into the pkginstall framework has the
benefit of generating a +FONTS scriptlet that may be run independently
of the +INSTALL scripts to (idempotently) update the fonts databases
and fix package installation errors.
2005-12-29 03:44:38 +00:00
jlam
91abe4f16b Teach the tools framework about ttmkfdir and type1inst. 2005-12-28 22:41:27 +00:00
jlam
3608385513 Whitespace changes to align with other sections. 2005-12-28 22:26:50 +00:00
jlam
f4717afe89 Consolidate xmkmf with the other "imake" tools. 2005-12-28 22:21:19 +00:00
joerg
ae4dbe9cb8 When MKFONTDIR is set, it is most likely used as well. Add a build time
dependency on it.
2005-12-28 17:54:20 +00:00
reed
7c96304247 For the x11-clients section, use "XFree86-clients" instead of
"imake" for the TOOLS_PREFIX (for the XFree86-clients provided tool).

(Asked about on tech-pkg and jlam said to commit.)
2005-12-28 16:46:38 +00:00
reed
bbb8d7bfe7 Add makepsres to _TOOLS.x11-clients.
(makepsres used for lyx install for example.)
2005-12-28 04:24:37 +00:00
abs
ad6b3c049a Set PATH if not already set at the top of bsd.prefs.mk, just before
using it in a test to set _MAKE. With this change pkgsrc works on
NetBSD/i386 3.0 to build with an empty environment (env -i sh).
Tested with my ~100 favourite server packages. Does not affect
the case when PATH is already set. To have a per OPSYS default path
the include of platform/${OPSYS}.mk will probably need to be at
the top of bsd.prefs.mk - arguably it should be there already.

There are bound to be assumptions made by some packages which will
be broken by an empty env, but the bulk of pkgsrc and in particular
the infrastructure works fine.
2005-12-28 01:00:46 +00:00
heinz
4c40d1de42 Added new japanese download facility jaist.dl.sourceforge.net.
Although voxel.dl.sourceforge.net is not listed anymore on the SF
download pages it still works, so I left it as is.
2005-12-25 16:52:20 +00:00
jlam
6156dddfc7 If bison is used, always pass YACC="bison -y". This should fix
PR pkg/31493, where YACC="bison" was wrongly being passed to the
configure script.
2005-12-22 18:55:41 +00:00
joerg
479de5b14d Add mkdirhier to the tools provided by an imake package.
Move the code down to the X11 clients handling as suggested by jlam@.
2005-12-22 14:49:10 +00:00
salo
87282e1246 Remove belnet and citkit sf.net mirrors, again.
They are refusing connections or timing out for at least two weeks.

XXX: Please, do _NOT_ add them again so easily, please!
     There is nothing but recurring trouble with them for a long time.
2005-12-20 22:48:34 +00:00
joerg
7f1790f2ef Change SUBST_FILES.djbware assignment from = to +=, allowing it to be
used for other files.
2005-12-18 20:25:35 +00:00
bad
d10871dcdf Document bozohttpd-do-htpasswd option. 2005-12-12 21:45:09 +00:00
joerg
1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00
markd
cdbc86defb Add the 'km' locale, initially used by kde3-i18n-km 3.5.0. 2005-12-11 12:49:41 +00:00
heinz
7713e9c809 Converted packages audio/mpg123* to bsd.options.mk framework (Approved by tron).
No bump of PKGREVISION necessary.
2005-12-10 21:31:41 +00:00
wiz
40b2ba02ff Desupport the various ghostscript*x11* packages (replaced by x11 option). 2005-12-09 20:32:22 +00:00
salo
23b23862cd Add dts description. 2005-12-09 17:57:19 +00:00
hira
ed44db6a86 Fix build of the packages which pass .la files to libtool by relative
path.  This allows to use symbolic linked path as WRKOBJDIR and should
fix PR pkg/31337.
2005-12-09 16:16:41 +00:00
rillig
550a2c6284 Prefixed all status messages with "pre-build>" to show the user where they
come from.
2005-12-08 21:21:15 +00:00
jschauma
7e93f1e66f Pass correct flags to install.sh to invoke IRIX's strip command 2005-12-08 01:12:56 +00:00
rillig
5878c465ce Allow absolute filenames for SUBST_FILES. Needed for converters/convmv and
maybe some others.
2005-12-06 17:17:30 +00:00
rillig
0e9febc62e Added missing "quotes" around many variables. 2005-12-06 09:15:29 +00:00
rillig
309745e03a Fixed a typo. 2005-12-06 08:25:18 +00:00
rillig
95c876eda2 * allow parallel builds (see parallel.txt) 2005-12-05 22:16:13 +00:00
rillig
999f8b6e04 Applied all quoting fixes found by "pkglint --autofix". 2005-12-05 22:07:07 +00:00