Commit graph

150 commits

Author SHA1 Message Date
tnn
94727992eb Remove inclusion of pkgtools/posix_headers/buildlink3.mk. This was
useful for initial testing, but here is not the proper place to include it.
For now the recommended way is to include the buildlink3.mk in mk.conf.
2007-08-02 00:11:45 +00:00
jlam
8e4ec99c37 Note the proper /emul/* dir for Darwin libraries. 2007-08-01 15:17:56 +00:00
jlam
33f30156fb * Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
2007-07-29 05:18:36 +00:00
joerg
409b183fc0 Remove USE_MTREE support. Keep one copy (the NetBSD version) for
the purpose of print-PLIST in plist/common-dirs.mtree.

Discussed with wiz@, no objections on tech-pkg@.
2007-07-02 14:54:09 +00:00
joerg
f1e659c224 DragonFly is ELF-only. Fix indentation. 2007-07-02 14:06:22 +00:00
joerg
94be767784 Remove RSH definition. 2007-07-02 14:03:34 +00:00
joerg
bc4f17e592 Change DragonFly to use modular Xorg by default. Haven't heard much bad
from users of the binary packages, so assume it works well enough.
2007-06-18 08:14:54 +00:00
tnn
10133a1027 - Use builtin krb5 implementation.
- Default to sysutils/gamin for packages that need libfam.
2007-04-29 11:54:25 +00:00
tnn
a896bfc3be Do not include posix_headers when bootstrapping. The package is only
useful when building packages from source, and it is compiler dependent.
2007-04-25 13:29:11 +00:00
tnn
967ebc4279 Enable use of pkgtools/posix_headers on HP-UX version 11.11. 2007-04-24 19:48:26 +00:00
tnn
4176dd5c80 don't use the system provided openssl and zlib for now 2007-04-21 13:54:46 +00:00
tnn
146da1286c Teach pkgsrc about HP-UX. 2007-04-14 14:17:49 +00:00
tnn
c162bb014e correct ulimit commands, cleanup obsolete definitions 2007-04-14 13:02:08 +00:00
tnn
346430a654 OSF1 uses ECOFF libraries. Rename COFF to ECOFF to distinguish it from other
variants of COFF.
2007-04-11 18:58:52 +00:00
tnn
186ea1906e Kill _OPSYS_RPATH_NAME; it was renamed to COMPILER_RPATH_FLAG years ago. 2007-04-11 13:31:52 +00:00
wiz
991a68755c Quite a number of unrelated packages install files into
share/emacs/site-lisp -- add it to default directories.
2007-02-20 18:57:05 +00:00
wiz
75a166599b Do not create share/skel, nothing installs into it. 2007-01-24 19:52:08 +00:00
wiz
129fe43e2e Add share/locale/si for gdm-2.16.4. 2006-12-19 17:54:50 +00:00
martti
2cc4216d5e Remove trailing spaces. 2006-12-15 12:46:23 +00:00
rillig
f7b79c10f7 Added an empty line to make "make help topic=ABI" work better. 2006-11-18 07:48:06 +00:00
joerg
5e78609796 Kill ancient runes: /usr/local as LOCALBASE was not the default for
ages and mk.conf from bootstrap sets it explicitly anyway.
The pkg_install stuff also lives in sbin.
2006-10-06 14:31:32 +00:00
joerg
672d9ead13 Always use LOCALBASE setting from mk/defaults/mk.conf.
Setting it with ?= in the platform files is a nop anyway.
2006-10-06 14:28:46 +00:00
tron
6620b33b6b Define "NOLOGIN" to "/usr/bin/false" rather than ${FALSE} (which doesn't
contain the directory name) and don't set "_PKG_USER_SHELL" which should
really be private to "bsd.pkginstall.mk".
2006-09-18 15:11:37 +00:00
jmmv
e738feda0d Add the nds@NFE locale directory, initially used by yelp-2.16.0. 2006-09-12 17:04:58 +00:00
jmmv
6bda98c0c6 Add a bunch of Spanish locale directories (es_*), initially used by
gnome2-applets-2.16.0.
2006-09-12 13:20:20 +00:00
jmmv
1dd0b8c5b8 Add the gn locale directory, initially used by gnome-menus 2.16.0. 2006-09-10 17:08:25 +00:00
schwarz
dd2de6f7ef improve imake support on IRIX 5 2006-09-10 13:44:58 +00:00
jmmv
1e5e95d9bf Add the share/gtk-doc/html directory. This is already used by several
packages that do not remove this at all, and others will be migrated to
use it in the future.
2006-09-07 18:11:11 +00:00
jmmv
476a9de1a8 Add the mg locale directory (to be used by libgtop2). 2006-08-06 11:36:59 +00:00
jmmv
74a4c2179c Handle the share/pkgconfig directory where platform-independent packages
(e.g. gtk-doc 1.6) want to install .pc files.
2006-08-06 09:35:39 +00:00
jlam
8f3802b3d9 Remove USE_GNU_GETTEXT from pkgsrc. Packages generally only needed
it for plurals support, but that is already handled correctly (FSVO
"correctly") by the pkgsrc/mk/tools/msgfmt.sh script.

Also remove _USE_GNU_GETTEXT definitions from pkgsrc/mk/platform/*.mk
files as that value has been unused by pkgsrc for quite some time
(going back several branches).
2006-07-20 20:02:23 +00:00
jlam
159d2f8131 Remove ${SED} check that no longer works. 2006-07-20 13:19:29 +00:00
wiz
675ffa69c0 Add bn_IN locale for atk-1.12.1. 2006-07-12 13:46:34 +00:00
jlam
eb27d05acd Back out revision 1.172 of mk/tools/replace.mk -- we never want to
allow IMAKE to be set by anything other than the tools framework.
Modify the IRIX files so that the native imake is listed as a built-in
tool in the case where X11_TYPE is "native".  Also, move the include
of tools/default.mk a bit lower in bsd.prefs.mk so that tools.${OPSYS}.mk
files can use the value of X11_TYPE.  This should properly set and
point IMAKE to the right binary on IRIX without destroying the
configuration for platforms where IMAKE was not explicitly set, i.e.
every non-IRIX platform.
2006-07-10 22:17:58 +00:00
joerg
4476e7eb89 Add INSTALL_GAME_DIR to complement INSTALL_GAME_DATA. The directories
are group-writeable by the games user on those platforms, where
GAMEMODE includes setgid. It defaults to PKGDIRMODE otherwise.
2006-04-12 21:01:15 +00:00
schwarz
6a99fbad5b Modified xmkmf support for Darwin and IRIX:
- on Darwin, pkgsrc no longer tries to set user or group when installing
  as unprivileged user, i.e. with UNPRIVILEGED set to yes.
- on IRIX (5 and 6) the system's xmkmf config files are no longer modified.
  Instead copies (that take priority with pkgsrc's xmkmf) are used for that
  purpose.
2006-04-10 13:38:36 +00:00
wiz
98d5a4af89 Remove ua locale dir again, it was a typo. 2006-04-09 12:37:01 +00:00
wiz
aa979a138f Add ua (Ukraine) locale dir for xchm-1.6. 2006-04-08 22:34:03 +00:00
wiz
42d56e7606 Add dz locale, used by glib2-2.10.2. 2006-04-08 21:12:04 +00:00
jmmv
3cc1a46965 Add the ca_ES@valencian directory, initially used by gaim 2.0.0beta3. 2006-04-02 09:51:29 +00:00
grant
412c157a03 require libtool >=1.5.22nb3 for /bin/sh fix. 2006-04-01 23:27:49 +00:00
jmmv
6bbe74362d Add the pa_IN locale directory, initially used by the iso-codes 0.50
package (coming after the freeze).
2006-03-21 19:35:44 +00:00
jlam
058ac2968b Remove leftover code sections guarded by _USE_PLIST_MODULE which was
mainlined long ago.
2006-03-18 21:40:44 +00:00
wiz
e643466c5d Add man/ru/*. 2006-02-22 21:42:05 +00:00
wiz
5daaa98485 Drop trailing whitespace. 2006-02-22 21:38:55 +00:00
wiz
5db18ae16b Add nl_BE and sv_SE locale dirs for gourmet. 2006-02-16 18:14:45 +00:00
wiz
dbe9cfb6a4 Add es_NI locale, for gnucash-devel. 2006-02-10 17:43:31 +00:00
tv
239bd12708 Set required libtool version to 1.5.22nb1, to skip regression issue in the
original 1.5.22 package.
2006-02-06 18:58:33 +00:00
wiz
c76dd1866e Add zh_HK locale for gtk2+-2.8.11. 2006-01-28 22:55:16 +00:00
jlam
8e0e10d3fa Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from bsd.pkg.mk into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces (print-plist.mk vs.
	plist.mk).

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/foo.info entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after texinfo.mk has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by bsd.pkg.mk
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.
2006-01-12 23:43:56 +00:00