Commit graph

407 commits

Author SHA1 Message Date
tcort
6933dd0064 Minix.mk: update GROUPADD/USERADD. OK by agc. 2013-03-01 00:09:20 +00:00
obache
ad51f051b0 introduce _OPSYS_EXE_SUFFIX, for platform specific executable suffix. 2013-02-27 12:03:49 +00:00
obache
72722c091d Drop Interix-ish, not for Cygwin. 2013-02-27 10:59:33 +00:00
obache
e41afcfbf9 prefer native X11 on Cygwin. 2013-02-23 05:41:04 +00:00
obache
381fd5cad9 Fix ROOT_USER/ROOT_GROUP for Cygwin to Administrators/Administrators (not using
its UID/GID), and sync platform privilege check with bootstrap script.
2013-02-22 13:39:31 +00:00
obache
cd901ade7c ${ID} is not defined here. 2013-02-21 11:19:27 +00:00
obache
b0ab224f20 Use ${ID} instead of bare 'id'. 2013-02-20 13:08:26 +00:00
obache
6773d2ae90 Fixes ROOT_GROUP setting for Cygwin. 2013-02-20 12:42:43 +00:00
obache
8351306655 check requirement of uac manifest, it is required for Windows Vista
(aka NT-6.0) and later.
2013-02-15 09:22:50 +00:00
obache
59f7f450d0 Add preference for Cygwin. 2013-02-10 12:25:17 +00:00
tcort
b203217b96 Minix now supports ELF shared libraries.
OK by obache@
2013-02-09 03:40:01 +00:00
wiz
6e3b6b5bea Remove "-no-cpp-precomp" from CPP_PRECOMP_FLAGS.
Obsolete since about Darwin-4.4.
Per Jason Bacon in PR 47531.
2013-02-04 15:53:16 +00:00
hans
8cf5164992 Prefer openssl from pkgsrc on SunOS by default. 2013-02-01 12:36:06 +00:00
hans
b239a2ebb9 Set LIBABISUFFIX on SunOS x86_64. Should probably also be done for
sparcv9, but I can't test that.
2013-02-01 12:25:16 +00:00
jperkin
1c7721e671 Default to builtin solaris-pam, allows PREFER_PKGSRC=yes to work. 2012-11-26 10:40:32 +00:00
ryoon
815857fa38 Make MOTIF_TYPE_DEFAULT as motif (LGPL Motif) instead of openmotif or lesstif.
No objection on tech-pkg@.
2012-11-19 11:34:15 +00:00
agc
4871e3add7 Add platform file for QNX - from Sean Boudreau, thanks! 2012-11-09 04:36:27 +00:00
bsiegert
8ec322d1f9 Comment out dependency on sysutils/user for user and group management.
The user package was removed two years ago :/.
Let's see how we can handle this better on MirBSD.
2012-06-16 20:13:06 +00:00
jperkin
830bf24fec Default to X11_TYPE?=modular if OpenWin headers are not installed. 2012-06-01 09:47:49 +00:00
bsiegert
045cd0e748 Add a global BUILDLINK_TRANSFORM to remove -ldl. This library is an empty
static library for compatibility reasons. If a libtool library is linking
against -ldl, libtool only builds it statically because there is no
libdl.so. This prevented, at least, the build of devel/gobject-introspection.
Add it globally because there is no reason anyone would want to link against
libdl on MirBSD.
2012-05-18 14:15:17 +00:00
obache
0504e225e5 Set LD_TRACE_LOADED_OBJECTS_FMT{1,2} for OpenBSD so that output of ldd will be
expected format.

workaround of PR 38838.
2012-05-13 08:20:11 +00:00
obache
d0f6d256be It is possible to check shlibs on OpenBSD now. 2012-05-04 11:46:02 +00:00
sbd
e7de802238 The path to libc.so.6 needs to include ${LIBABISUFFIX}. 2012-04-23 08:14:36 +00:00
sbd
c3c450359b Oops I had the sense inverted for NOGCCERROR. 2012-04-09 04:19:24 +00:00
joerg
9765e41589 Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.
2012-03-19 12:34:12 +00:00
sbd
6e18dafcab If NOGCCERROR is defined pass it to the make process. 2012-03-05 07:53:42 +00:00
tron
2dae6ecc20 Fix comment about NetBSD X11: the default for NetBSD 4 is now "modular". 2012-02-28 19:35:58 +00:00
hans
e7d34a93ec Use ${MAKE} as IMAKE_MAKE. 2012-02-15 15:15:23 +00:00
sbd
b21b15a027 Remove GNU_CONFIGURE_LIBDIR setting on x86_64-linux systems, setting this
for all packages that use GNU_CONFIGURE causes to many packages to break.

Packages that need the libdir passed to them will need to be handled one
at a time.
2012-01-22 08:40:11 +00:00
obache
53b0cfe395 OpenBSD-2.9 and later support kqueue(2). 2012-01-19 10:53:56 +00:00
sbd
7d410a233f Add the GNU_CONFIGURE_LIBDIR variable, if defined it will be passed to gnu
configure scripts as the value of --libdir.

On Linux x86_64 set GNU_CONFIGURE_LIBDIR to ${GNU_CONFIGURE_PREFIX}/lib,
this will stop package trying to install into ${PREFIX}/lib64.
2012-01-17 21:10:24 +00:00
hans
b0aed5d3a6 Default to lesstif instead of dt if X11_TYPE != native. 2012-01-12 15:53:37 +00:00
marino
478c16e258 mk/platform/DragonFly.mk: Correct setting for _OPSYS_HAS_OSSAUDIO
DragonFly never had libossaudio.
2011-12-17 16:20:01 +00:00
tcort
3daa7e95c9 Define the Minix platform. 2011-11-05 17:09:15 +00:00
sbd
f0315578c5 Add LIBC_BUILTINS platform definition to Linux.
Designed to be used in mk.conf like so:
PREFER_PKGSRC= yes
PREFER_NATIVE= ${LIBC_BUILTINS}
2011-10-31 23:22:59 +00:00
sbd
be522e59ef Change the X11_TYPE conditional to work with the switch in the default
X11_TYPE to modular.
2011-10-15 03:15:37 +00:00
bsiegert
0e77bd1e01 Tentatively switch X11_TYPE to modular to MirBSD. The native X is still
X11R6 so many new applications do not build. meta-pkgs/modular-xorg-libs
built correctly in my tests, so let's see what a bulk build will show.
2011-09-18 19:11:29 +00:00
abs
777afd3e4b switch NetBSD-4 and AIX to default to modular X11_TYPE 2011-09-18 12:42:23 +00:00
abs
2750273003 IRIX 6 made it to X11R6, but never X11R7, so default to X11_TYPE=modular 2011-09-17 08:13:06 +00:00
abs
e6d9e50cd6 UnixWare 7 has move dup to X11R6, still less than X11R7, so default to
X11_TYPE=modular
2011-09-17 08:10:33 +00:00
abs
021c4489b5 Sinc BSD/OS has been oprhaned since 2004, default to modular X11_TYPE 2011-09-17 08:06:40 +00:00
abs
ac04381173 Since Interix appears to use X11R5, switch to modular X11_TYPE by default 2011-09-17 08:05:02 +00:00
abs
bf20ddf838 From "What platforms work with X11_TYPE=native" thread on pkgsrc-users.
Based on the responses I'm going to switch the default X11_TYPE to
be modular, and override in platform/*.mk files as required. The
new values will be:

Changed - from native to modular
- FreeBSD
- FreeMiNT
- Linux

Changed - older versions switched from native to modular
- NetBSD - native for NetBSD-4 and later

Native (unchanged)  - should probably be switched to modular
- AIX
- BSDOS
- IRIX
- Interix
- MirBSD
- UnixWare

Native (unchanged)
- Darwin - for Leopard (10.5) and later
- OpenBSD.mk
- SunOS.mk

Modular (unchanged)
- DragonFly
- HPUX
- Haiku
- OSF1

I'd like to encourage anyone using X11 apps on any platforms other
than NetBSD, Darwin, DragonFly, FreeBSD, Linux, FreeMiNT, HPUX,
Haiku or OSF1 to speak up, whether they are happy with native or
having to set modular.
2011-09-10 16:30:02 +00:00
yyamano
79edae70ae Add comment for Mac OS X 10.7.x Lion. 2011-09-09 09:31:56 +00:00
cheusov
d900dedc95 Pass a maximum command line length to "configure" script on Linux.
PR 45274 by Emmanuel Kasper
2011-08-22 15:17:53 +00:00
obache
f0dc7f55fd NOLOGIN=/sbin/nologin for SSD/Linux. 2011-05-11 12:46:20 +00:00
cheusov
e96d5977ff Use useradd/groupadd scripts from sysutils/user_irix package on IRIX
Closes PR pkg/44564
2011-05-07 22:16:16 +00:00
obache
b3a2579d74 /usr/bin/su for SSD/Linux. 2011-03-20 09:00:08 +00:00
dholland
0a55f693f1 Remove SETGIDGAME logic from here, like it was removed from the other
platform .mk files.
2011-03-19 14:07:10 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
adam
e52787fa21 Removed _INCOMPAT_ICONV.
The problem is Darwin's libiconv does not have symbols for libiconv_<name>
(e.g. libiconv_open), but iconv_<name> (e.g. iconv_open).
BUT when there's pkgsrc/converters/libiconv installed instead, it doesn't
have symbols for iconv_<name>, but libiconv_<name>.
Some packages auto-configure looks for libiconv_open (like glib2), others
look for iconv_open (like proftpd), and there's a conflict.
The solution is to replace libiconv_open with iconv_open with SUBST framework.
2011-01-04 09:53:31 +00:00
abs
6842004891 Why should apps compiled for OS X 10.4 and earlier have to languish with
outdated X libraries? Default to modular x11 for a more modern set of
features, bugfixes (and bugs), and to simplify application support
Does *not* affect 10.5 (Leopard) or later
2010-12-22 20:43:45 +00:00
obache
9a6ed5c66f Force to use symbolic link for wrapper if WRAPPER_USE_SYMLINK is defined.
Workaround for missing hard link support on Haiku, PR#43398.
2010-08-16 10:03:44 +00:00
dholland
4424b4c08b Begin cleanup of setgid game infrastructure.
* Introduce USE_GAMESGROUP, which causes the games user and group to
be made available.

 * Retain SETGIDGAME as an alias for USE_GAMESGROUP. Describe it as
deprecated.

 * Always define GAMES_USER, GAMES_GROUP, GAMEMODE, GAMEDIRMODE, and
GAMEDATAMODE, regardless of whether USE_GAMESGROUP is turned on or not.

 * Define these variables in defaults/mk.conf instead of separately in
every platform/*.mk file. The definitions used to be the same for each
of these platforms anyway, except for some where they were randomly
missing or commented out for no clear reason, leading to broken game
packages.

 * Handle all these variables properly when unprivileged.

 * Update the comments/documentation for these variables.

 * Describe GAMEOWN and GAMEGRP as deprecated. These need to be
retained as aliases for GAMES_USER and GAMES_GROUP respectively for
supporting packages that use bsd.*.mk but should otherwise not be
used.

 * Add GAMEDATA_PERMS and GAMEDIR_PERMS using GAMEDATAMODE and
GAMEDIRMODE respectively.

 * Fix a bug I noticed that was improperly mixing the "games" group
and "games" user.

Things this does *not* do:

 - get rid of GAMES_USER, for which there should ultimately be no need.

 - move the declaration/documentation/default value of USE_GAMESGROUP
to a suitable place. (It is currently where SETGIDGAME was, which is
suboptimal.)

 - touch any of the games, all of which need updating with at least
s/SETGIDGAME/USE_GAMESGROUP/ and probably more.

 - update the guide to explain how to handle games properly.

Also, it would be nice if using GAMES_GROUP without setting
USE_GAMESGROUP=yes caused an error but as far as I know there isn't
any particularly good way to arrange this right now.

Note that these changes may alter the build/install behavior of broken
game packages, e.g. some may silently become setgid when they weren't
before or things like that. If you run into any of this file a PR.

While one might arguably bump the PKGREVISION of all games or other
packages using any of these variables as a precaution, that seems like
a bad idea. Instead, I think I will be bumping each game once it
itself has been fixed up to do everything the right way.
2010-07-08 04:57:36 +00:00
obache
71467f96b2 Fixes paths for useradd/groupadd. 2010-06-20 04:05:39 +00:00
sbd
1c5f2a96f3 On Linux systems record the glibc version in the build information.
OKed by wiz@
2010-05-20 07:57:22 +00:00
sbd
b2c2350a94 Use mk/check/check-shlibs-elf.awk for the run-time search-path check on
linux.
2010-05-16 06:59:26 +00:00
sbd
db09236f72 imake should only ever use gmake if ${X11_TYPE}==native. Pointed out by joerg@
Fixes PR 42274

OK wiz@
2010-03-18 22:46:01 +00:00
obache
d8b89dd040 for SSD/Linux, /usr/bin/false, not /bin/false. 2010-02-13 08:29:12 +00:00
obache
37095ae4b4 Add Haiku support file. 2010-02-06 10:39:59 +00:00
obache
2d7e9ef220 Add support of SSD/Linux.
* ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools
2010-01-16 02:16:35 +00:00
tnn
cab6fe7bee fix comment 2009-12-19 10:53:33 +00:00
tnn
b24d39bee5 default X11_TYPE to modular 2009-12-19 10:52:58 +00:00
joerg
725365852d Force libtool 2.2 on all platforms. 2009-12-16 19:48:09 +00:00
tron
afd7200f80 The 64-Bit version of "libiconv" is not compatible with the GNU version
and therefore rejected by e.g. the "glib2" package. Use the "libiconv"
package to fix this.

Approved by Alistair Crooks.
2009-09-24 06:31:27 +00:00
tron
62efbfa9bf Add comment describing version numbers for Mac OS X Snow Leopard. 2009-09-12 21:41:26 +00:00
agc
d07c430fe5 Get rid of an abstraction violation which has been in the tree since
March 2008. Not vital, but the previous way does not scale well/at all.
2009-07-26 05:32:43 +00:00
tron
05fbe1aaa8 Don't use "/bin/ksh" to run wrappe scripts under Mac OS X before Leopard.
This should fix build problems reported by Christoph Egger.
2009-07-11 10:32:41 +00:00
schwarz
8a2dcb7bd1 /usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture-
dependent) real gcc binary with the same path as it has been evoked. When
it is called via a symbolic link this fails since the evokation path in that
case is the original one of the symbolic link. For that reason pkgsrc's
buildlink framework must be prevented from using symbolic links to refer to
/usr/bin/gcc.

imac:/tmp schwarz$ ln -s /usr/bin/gcc gcc
imac:/tmp schwarz$ /tmp/gcc
gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin8-gcc-4.0.1': No such file or directory
2009-06-07 11:34:27 +00:00
joerg
bdd1b8e73a Remove WRAPPER_DEBUG definition, it doesn't change anything. 2009-06-02 14:51:03 +00:00
joerg
af770acf0e GCC_USE_SYMLINKS has been renamed and is the default now, so remove it
here.
2009-06-02 14:47:44 +00:00
tron
76a8021ba5 Allow to set the "bourne" shell used for buildlink3 wrappers per platform.
Set it to "/bin/ksh" under Mac OS X which should reduce package build times
by more than 20%.
2009-05-06 10:28:01 +00:00
tron
bdc83f4e4c Revert last change for the moment as "/bin/ksh" fails to execute
the "configure" script of "pkg_install".
2009-04-27 12:03:36 +00:00
tron
9adc2cce6a Set "SH" to "/bin/ksh" under Mac OS X Leopard:
- "libtool" will use "ksh" if it gets rebuilt after this change.
- Buildlink wrappers will now use "ksh".
- Configure script will be executed using "ksh".
This improves build performance by more than 30%.

Change discussed on "tech-pkg" mailing list.
2009-04-24 11:54:14 +00:00
joerg
a1b94af72d Remove PAX definition, it is not forcefully installed as part of the
bootstrap any longer, so this is plainly wrong.
2009-04-01 12:04:41 +00:00
tnn
d4a3178b42 revert previous 2009-03-17 17:58:49 +00:00
tnn
a325778f62 Global FAM_DEFAULT is now acceptable, so no need to override it here. 2009-03-16 08:59:28 +00:00
abs
5f554c32aa Initial definitions for FreeMiNT - also needs patches to pkgtools 2009-03-05 00:02:44 +00:00
sketch
ddaab16e6a While user/group 'games' does not exist by default on Solaris, it will
get created correctly if SETGIDGAME=yes and this avoids ugly errors
from check-files.mk
2009-01-14 23:33:48 +00:00
tron
65c127a1a3 Update Xcode information for Mac OS X Leopard. 2008-12-16 08:11:29 +00:00
sketch
9786e79561 Solaris useradd requires a full path to the shell. 2008-12-12 15:35:34 +00:00
joerg
636aaedea4 Don't set EXPORT_SYMBOLS_LDFLAGS on AIX, while it seems that GCC and
some newer linker versions seem to ignore it. It is not required anyway.
From PR 39633.
2008-10-30 18:52:08 +00:00
ahoka
a8c167b572 Reverting my previous openmotif->lesstif changes. 2008-09-22 17:11:02 +00:00
ahoka
1382d85001 As the openmotif license doesnt allow usage on close source systems,
there is no good reason to be default on those platforms.

Change the default to lesstif on AIX, BSDOS, Darwin, HPUX, Interix, OSF1.
2008-09-14 09:51:30 +00:00
joerg
aa3dd25985 Use patch --suffix instead of -b, the latter will be problematic when
PR  11220 gets addressed.
2008-08-10 17:40:00 +00:00
tnn
93b8e0a23e Use gamin instead of fam on OSF1. Closes PR pkg/31489. 2008-05-20 21:13:15 +00:00
tnn
29fefc1b76 Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606. 2008-05-13 11:40:24 +00:00
joerg
caa9b2eebf Move handling of pkg_install version into flavor. Add an explicit
phase pkg_install-depends before bootstrap-depends that just tries to
install a new pkg_install if the current version is too old. Still
keep it as bootstrap dependency for the bulk build code.
For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make
bug.

OK: jlam@
2008-04-03 14:07:51 +00:00
jlam
26a6bb9ac4 + Conditionally add GAMES_USER and GAMES_GROUP to the platform *.mk
files.  These variables are currently usable if ${SETGIDGAME} == yes.
  These variables should be used when describing ownership of files
  and directories to the pkginstall framework, e.g.

	SPECIAL_PERMS=	bin/foogame ${GAMES_USER} ${GAMES_GROUP} 2555

+ Rename SETGID_GAME_PERMS to SETGID_GAMES_PERMS because the default
  group name is "games".

+ Define SETGID_GAMES_PERMS in terms of GAMES_USER and GAMES_GROUP so
  that these names are protected from the normal flow of unprivileged.mk.
  This fixes the +INSTALL scripts in "user-destdir" packages to
  correctly refer to the games:games instead of the user:group of the
  user that built the packages.
2008-03-04 06:45:33 +00:00
tnn
3d06b8fdd5 Kill _OPSYS_NEEDS_XPKGWEDGE. It was only used by two platforms and they
will default to USE_XPKGWEDGE anyway.
2008-02-21 04:23:58 +00:00
yyamano
8ea5fe16d9 Add a list of the codename, os, kernel and xcode version based on
tron's mail on tech-pkg. Thanks gtd for yourusuggestion to add xcode version.
2008-02-17 11:45:14 +00:00
tron
5acb5cbde8 Try to fix PR pkg/26143 with caution:
- Set "CC" to "gcc -isystem /usr/include" during bootstrap.
- Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".
2008-01-30 22:57:31 +00:00
joerg
daa4ab9470 Make the default rpath for USE_CHECK_SHLIBS_ELF a platform variable.
Define the values for NetBSD and DragonFly.
2008-01-16 14:03:31 +00:00
tnn
a970f2bc58 Provide a mechanism for enabling use of pkgtools/posix_headers. 2008-01-16 03:16:39 +00:00
tnn
3923838b90 Delete comment about bmake not accepting .SHELL, that PR was fixed long
ago ...
XXX: I would enable /bin/ksh as bmake's default shell but it fails on
one of the bmake unit tests. Will need to figure out why ...
Maybe some day we can provide a posixly correct shell as part
of the bootstrap process.
2008-01-16 03:09:48 +00:00
tnn
2741fbbdb4 Default to modular X.org on HPUX, since native X11 is old/broken and
X11 headers are not bundled with the operating system.
2008-01-15 22:37:49 +00:00
tnn
660c2052df Don't provide a redundant CPP definition 2008-01-14 05:50:38 +00:00
joerg
c44cfe5404 Only force gmake for imake on Linux, if using native implementation. 2008-01-12 22:44:10 +00:00
tron
0efe5a4def Fix cut and paste error in last change. 2007-12-16 12:36:28 +00:00
tron
a9c785eaa1 Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently by
purpose because if it is invoked as "/bin/bash" it does). Use
"/bin/echo -n" instead.
2007-12-16 12:27:28 +00:00
rillig
cfa9f9e78c Prevent other developers from doing the same mistake as I did, when I
wanted to clean up the code in this directory.
2007-11-20 17:53:40 +00:00
rillig
84a48dac04 Added the feature "asprintf", since Solaris 10 doesn't provide it. The
missing feature is defined in the platform-specific file, which is more
elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-11-20 17:49:49 +00:00
rillig
034b8390a8 Reverted the last changes, which factored out some definitions that are
usually the same on the supported platforms.

The reason for having duplicate code in these files is to make it easier
to port pkgsrc to a new platform: You just have to copy one of the
existing platform files and edit the values in it. With some values
factored out, you would have to look at one more file.

Pointed out by agc@.
2007-10-19 13:41:34 +00:00
rillig
f53c1ce2ee Factored out the parts that are common between all the supported
platforms, mainly because it wouldn't have made sense to document the
variables in one of those files, but they need to be documented
somewhere.

Added the file defaults.mk, which now serves as the reference document
which provides useful default values and _explains_ the variables.
2007-10-18 21:52:23 +00:00
tnn
772f8281eb Allow PKGLOCALEDIR to be overridden. 2007-10-16 12:11:25 +00:00
rillig
ac64ea2785 AIX has nothing to do with NetBSD-1.5. 2007-10-09 20:39:39 +00:00
jlam
ffd0fa8226 * Support netbsd-* as a valid platform in EMUL_PLATFORMS. Use the
pkgsrc/emulator/compat* and pkgsrc/emulator/netbsd32_compat* packages
  to provide the necessary shared libraries to run dynamically linked
  NetBSD binaries from the days of yore.

* Add some additional compat* packages for completeness:

	compat15, compat20, compat30

* Modify the compat* packages so that "compatNM" only provides files
  that aren't in "NetBSD-N.(M+1)".  For example, compat12 only provides
  files that don't exist in NetBSD-1.3.x, compat13 only provides files
  that don't exist in NetBSD-1.4.x, etc.

  As a result, if you are running NetBSD-3.0/alpha and want to run a
  1.3 dynamically linked binary, there is an automatic dependency
  chain that causes the following packages to be installed:

	compat13, compat14, compat15, compat16, compat20

  There are some deviations from this dependency chain on platforms
  that have changed executable formats, e.g. i386, m68, sparc, etc.
  However, in general pkgsrc will require that you have the necessary
  COMPAT_* options in your kernel to match the installed compat*
  packages.  This restriction is an artificial one imposed by pkgsrc,
  but allows for a single set of distfiles to be used on all versions
  of NetBSD.

* Provide compat* package support for every supported architecture
  of NetBSD.  Verily, it is now possible to run 1.2 binaries on
  NetBSD-1.5.3/pc532 by installing the compat12 package from pkgsrc.
  Rejoice, one and all!

* The netbsd32_compat* packages mirror the corresponding compat*
  packages for use by sparc64 and x86_64 to allow running 32-bit
  binaries with COMPAT_NETBSD32 kernel support.  The "extras" packages
  supply the additional shared libraries from the corresponding release
  of NetBSD so that the set of files in /emul/netbsd32 will be complete.

* pkgsrc/emulators/compat_netbsd contains infrastructure files shared
  by all of the compat* packages.
2007-08-21 22:49:02 +00:00
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
christos
d6f119448c Also set ABI like SGI does; from Benjamin Shi. 2006-01-10 16:58:04 +00:00
christos
764aec25ab set the LIBABISUFFIX to 64 for amd64... 2006-01-06 22:47:24 +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
jschauma
7e93f1e66f Pass correct flags to install.sh to invoke IRIX's strip command 2005-12-08 01:12:56 +00:00
rillig
999f8b6e04 Applied all quoting fixes found by "pkglint --autofix". 2005-12-05 22:07:07 +00:00
joerg
8ee73fae68 Add IMAKE_GAMEMAN_SUFFIX and IMAKE_GAMEMAN_DIR to allow PLISTs
to pick up the correct locations.

XXX Default values are guessed, x11/xsnow can be used for testing
2005-12-04 01:44:30 +00:00
seb
a91ee27221 Add lo and ss locale directories, used by the upcoming audio/amarok
update.
2005-11-16 01:36:46 +00:00
tv
e2af5cd013 libtool-base-1.5.18nb6:
Fix major problem brought to the surface by buildlink3 on Interix.  For C++
or F77 libraries only, the soname did not always make it into the final
binary, resulting in runtime link failures in some cases and runtime linking
with a missing major version in others.

This is unfortunately a flag day for Interix + pkgsrc.  Identifying all the
PKGREVISIONs normally requiring a bump is a little too unwieldy.  However,
existing binaries not experiencing the runtime link failure will continue
to run, but will be linking against the unversioned ".so" at runtime until
the binaries have been rebuilt.

While here, fix a couple wrong assumptions in the libtool config for
Interix.  shlibvar_overrides_runpath should have been "no", and
hardcode_direct should have been "yes".
2005-11-09 18:05:56 +00:00
reed
183079876c DragonFly does not provide an X11, so default to X.org's X11.
This is the X11 tested and used by the pkgsrc developers on
DragonFly. And far as I know, this is the only X11 used on
DragonFly -- not saying that others are not used though.
2005-11-09 01:08:58 +00:00
joerg
78ac3986eb Bless FreeBSD with the usergroup functions used by DragonFly. 2005-11-06 19:45:08 +00:00
tv
55216ceb5f Add comment about possibly supporting SIOCGIFADDR in the future. 2005-11-04 19:50:31 +00:00
tv
b1d81c0a17 Abstract [LOWER_]OS_VERSION into a ${...:sh} construct, so that other OS
blocks can override it without running the commands at all.

Move Interix [LOWER_]OS_VERSION speedup hack into bsd.prefs.mk, since it
must happen early at runtime.

While here, speed up the OS_VERSION calculation slightly for OSF1.
2005-11-01 16:30:05 +00:00
tv
a9a49c990b Add some extra default overrides for Interix, to:
- speed up the build (avoiding a few != settings that are inferrable instead)
- reduce the number of settings that the user needs to have in mk.conf
2005-11-01 16:01:16 +00:00
tv
6c348a80af Force recognition of hstrerror(3) on Interix when GNU_CONFIGURE. 2005-10-31 19:07:18 +00:00
joerg
a765c85f21 Implement usergroupfuncs for DragonFly using pw(8). 2005-10-28 20:09:38 +00:00
tv
05e15fbb06 a.out has never existed on DragonFly; that OS was created long after its
parent (FreeBSD) went ELF-only.
2005-10-27 22:39:58 +00:00
tv
c8eaac00f2 UnixWare has never used a.out. It descends directly from SVR4, and thus
is ELF by definition.
2005-10-27 22:39:08 +00:00
tv
cab6bd3e08 ...and gawk is no longer needed, either, so all these extras can now
go away.
2005-10-26 16:57:46 +00:00
tv
29e15651e7 sysutils/coreutils is no longer needed in bulk builds, with the Perl tflat. 2005-10-26 16:56:33 +00:00
schwarz
a0fe98b535 modification to increase imake handling flexibility for IRIX (in particular
with respect to IRIX 5).
Changes approved by jschauma and recht.
2005-10-16 19:38:05 +00:00
jmmv
8a7f3cdb6c Add the aa, byn, dv, gez, gv, haw, iu, kk, kl, kok, kw, ky, oc, om, ps, sa,
sid, so, sw, syr, ti, tig, tt, ur, ve, wal and wo locales, initially used
by iso-codes.
2005-10-14 16:46:17 +00:00
tv
ff9bb60b8f Bump LIBTOOL_REQD to 1.5.18nb5. This pulls in the -avoid-version fix for
some platforms, which includes all non-ELFs and many ELF-like platforms
(that still use a.out naming conventions).

Since a branch is coming, bump the version in a blanket rather than per
platform.
2005-09-21 20:37:01 +00:00
jmmv
4f121c6357 Add the 'ug' locale, initially used by gnome-themes 2.10.1 (AFAICT). 2005-08-19 21:47:51 +00:00
jmmv
7709491e7e Add the 'te' locale, initially used by gnome-desktop-2.10.2 (AFAICT). 2005-08-19 17:04:47 +00:00
reed
4b52aacba0 Fix typo. 2005-08-02 03:38:09 +00:00
reed
0ba4386344 Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.
2005-08-02 00:23:31 +00:00
schmonz
4a0a36c00f Add "share/examples/rc.d" to mtree specs, both because
RCD_SCRIPTS_EXAMPLEDIR has been fixed to this value for a while,
and because it ought not to be emitted by the print-PLIST target.
(Individual packages can't expect to be able to completely remove
this directory on deinstall, as it often has other packages' rc.d
scripts in it.)
2005-07-20 02:41:33 +00:00
tv
b851e4027d Set _OPSYS_LIBTOOL_REQD to 1.5.18nb4. 2005-07-03 19:04:10 +00:00
jmmv
4bb60182ea Add hy locale, initially used by gnome-panel 2.10.2. 2005-06-29 09:29:36 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
jlam
6efbd72779 Clean up some clutter in pkgsrc/mk: move the ${OPSYS}.*.dist mtree
files into mk/platform, where they now live with the ${OPSYS}.mk files.
2005-06-23 18:41:57 +00:00
jlam
226567f45c Make IMAKE_TOOLS into a publicly-readable variable so that it can be
used by pkgtools/xpkgwedge.
2005-06-14 07:12:23 +00:00
tv
c887a4516b Force libtool-base-1.5.18nb3 on DragonFly. 2005-06-05 18:05:54 +00:00
markd
3fdb9ff461 IMAKE_FILEMAN_SUFFIX is 4 on Solaris and (as I read it) OSF1 and UnixWare. 2005-06-04 23:33:50 +00:00
jlam
05db0b4f12 Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf. 2005-06-01 18:14:23 +00:00
markd
81c0cfd0d0 OpenWindows imake installs manual pages to different locations than
where the XFree86/xorg ones do.
2005-06-01 14:27:12 +00:00
markd
8ddab030e4 On NetBSD, OpenBSD and BSDOS imake always installs man/catN pages with
a "0" suffix.
2005-06-01 14:23:07 +00:00
salo
38a9c4ca3f DragonFly patch(1) can do backups, using -z flag:
-z, --suffix
      Causes the next argument to be interpreted as the backup extension,
      to be used in place of ".orig".

From Joerg Sonnenberger via private mail.
2005-05-31 12:31:21 +00:00
jlam
9f94b112f0 Remove the old tools framework and references to _USE_NEW_TOOLS. 2005-05-22 19:11:12 +00:00
jlam
3f770348b7 Teach the new tools framework about INSTALL and set the appropriate
default value for each platform.  Currently, the replacement tools
comes from sysutils/coreutils, but where there is no native BSD install
program, bootstrap-pkgsrc should probably be made to provide an install
shell script as an alternative, and mk/tools/bootstrap.mk should be
amended accordingly.

Also remove one use of ${TYPE} in pkgsrc (bsd.pkg.mk) under the new tools
framework.
2005-05-03 20:41:53 +00:00
jlam
cbf28912e2 Nuke stray GZIP definitions that I missed in a previous commit. 2005-05-03 19:35:24 +00:00
jlam
0e37f0df4d First pass at converting pkgsrc to use the new tools framework (still
not on by default).  Separate out the variable defintions that are
now made by the new tools framework.  Some of the trickier platforms
(AIX, IRIX, Interix, OSF1) still need more work.
2005-05-03 18:30:12 +00:00
jlam
8f5d2304a3 Back out part of a change from revision 1.756 of bsd.pkg.mk. It was
a mistake to include "GZIP" as an ${OPSYS}-specific variable as there
is nothing ${OPSYS}-specific there to tune.  Define GZIP in
defaults/mk.conf instead, and remove the definition from each of the
existing platform/${OPSYS}.mk files.
2005-05-03 15:10:59 +00:00