Commit graph

14 commits

Author SHA1 Message Date
spz
56e296d18f make it set links to the full path of the shared libs, not to a path
starting with emul/
2013-02-17 10:34:31 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
jlam
0bb78c6c9d Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 19:21:37 +00:00
jlam
0dcf7090ca MASTER_SITE_LOCAL doesn't honor DIST_SUBDIR. Modify the MASTER_SITES
variable so that at least the compat* NetBSD packages will honor it.
This allows the compat40 packages to find their distfiles, located under
LOCAL_PORTS/20071230.
2008-01-15 15:43:48 +00:00
jlam
36c1c8269b Add the script that I use to generate distfiles and PLISTs for NetBSD
compat* packages.
2007-12-31 19:52:19 +00:00
jlam
8199a0eab1 Make PKGNAME consistent across all platforms in the compat* and
netbsd32_compat* packages.
2007-11-27 19:40:51 +00:00
jlam
5dca58e72d Don't rely on differences in the value of DISTNAME that rely on
"immediate" versus "lazy" evaluation of the value.  Just explicitly
define a variable (COMPAT_PKG) that holds the value that's needed in
each of the compat* packages, and use it within Makefile.common.

This was an attempt to solve PR pkg/36863, but it doesn't look like
pkglint or lintpkgsrc understand this more straightforward variable
construction either.
2007-08-30 16:54:06 +00:00
jlam
5d44d182f5 Fix derivation of PKGNAME in the COMPAT_NETBSD32 case so that DISTNAME
may be defined after the inclusion of compat_netbsd/Makefile.common in
a package Makefile.  This should fix the problem (reported in private
by Juan Romero Pardines) where the "-extras" packages did not have a
version number in PKGNAME.
2007-08-28 14:00:45 +00:00
jlam
e017e85782 There are no wildcards when using :S. Use :C instead. This fixes the
build for the compat*-extras packages.
2007-08-23 20:11:53 +00:00
jlam
081c0f8957 Allow a nicer syntax for expressing needing at least a certain version
of an emulated operating system.  Instead of proliferating things like
SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a
package can say:

	EMUL_REQD=	suse>=9.1 netbsd>=2.0 solaris>=10

all in one, succinct line.
2007-08-23 18:20:30 +00:00
jlam
711d838dc0 Back out previous and solve this in another way that doesn't involve
a hokey new emulator-opsys.mk file.
2007-08-23 17:31:46 +00:00
jlam
e44e2c60b8 Break out the inclusion of the operating-system-specific Makefile into
a separate emulator-opsys.mk file.

The emulator-opsys.mk file defines EMUL_DISTRO and the various *EMUL*DIR*
variables, as well as any opsys-specific variables.

Include this file within compat_netbsd/Makefile.common so that the
*EXEC_FMT variables (defined by the compat*/emulator.mk files) are
defined.  This fixes the build of compat* packages.

XXX emulator-opsys.mk will go away in the near future as we do more
XXX appropriate information hiding.
2007-08-23 15:59:33 +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