Commit graph

45 commits

Author SHA1 Message Date
riastradh
9e0c502480 Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.

ok agc
2013-05-09 23:37:25 +00:00
spz
eab7e7786b make emulators/compat50, emulators/compat50-x11, emulators/compat51,
emulators/compat51-x11 and emulators/compat60 known
2013-02-17 17:28:42 +00:00
chs
ce76b37e4f remove support for suse 11.3. 2012-08-18 16:29:59 +00:00
obache
0eef4a6beb switch to SUSE_PREFER=12.1 for NetBSD>=6. 2012-06-16 14:21:25 +00:00
obache
e3feaf1e54 Let not to prefer suse113 for powerpc, it is not supported. 2012-04-18 06:17:24 +00:00
obache
52dd7b8acd Add suse121 support. 2012-03-21 13:44:59 +00:00
obache
b0093cde66 Drop gdk-pixbuf, gtk and vmware modules for suse.
* gdk-pixbuf and gtk are not used anywhere in pkgsrc and suse>10.0 does not
  support them.
* vmware module was used for emulators/vmware* packages, but it had been removed
  from pkgsrc.
2012-03-17 06:08:15 +00:00
obache
86ad714319 Drop qt3 support for suse100.
It was intended to be used for opera-10.0, but current opera does not require it.
2012-03-17 04:59:33 +00:00
sbd
8f2c450e41 While 64bit Linux systems can emulate 32bit systems the EMUL_TYPE is not
"native" it's "builtin".

So if Linux emulation is wanted on a Linux system set EMUL_TYPE.linux to
"native" if the EMUL_ARCH and MACHINE_ARCH are the same, otherwise set it
to "none".

If the EMUL_TYPE is 'none' disable the package by setting NOT_FOR_PLATFORM
to this platform.

If someone wants to use Linux 32bit "builtin" emulation they should ensure
that the native 32bit library packages that are needed are installed
(e.g. libc6-i386 ... ) and put "EMUL_TYPE.linux=builtin" in mk.conf.
2012-01-18 00:52:20 +00:00
sbd
b207e3049a s/DEPENDS_native-linux/DEPENDS_${EMUL_DISTRO}/
Also don't set LDCONFIG_* if EMUL_IS_NATIVE.
2012-01-18 00:37:46 +00:00
wiz
458f2e04f0 Finish support for libdrm package. 2011-12-29 22:17:20 +00:00
abs
a639d98ce5 If SUSE_PREFER is > than EMUL_REQD, then use SUSE_PREFER 2011-09-09 21:01:36 +00:00
abs
3da76d09e5 Default NetBSD-5.99.50 and later to SUSE_PREFER 11.3 else 10.0 2011-09-08 21:04:59 +00:00
abs
5584fc2d1b Fix the logic so if a package sets EMUL_REQD to suse>=11.3, then use that in preference to SUSE_PREFER 2011-09-06 17:48:24 +00:00
chs
3cb2c05a96 add a "curl" module. 2011-02-27 15:54:03 +00:00
chs
30b19f8a56 restore qt3 to modules list, suse 10.0 still needs it. 2010-09-24 17:08:35 +00:00
chs
8148f8ef04 add support for suse-11.3. 2010-09-24 01:30:36 +00:00
chs
84a0d8688f pay attention to SUSE_PREFER.
update modules list.
2010-09-24 01:30:16 +00:00
tron
675f7c45b6 Require at least version 3.1.4 of "rpm2pkg". 2010-09-07 17:33:40 +00:00
tron
dd28c7068b Require at least version 3.1.3 of the "rpm2pkg" package to make sure we
support RPM package files which use LZMA compression for the data section.
2010-09-05 16:13:41 +00:00
obache
b48e891d29 Add qt3 module. 2009-09-09 13:03:38 +00:00
rillig
3485b625d4 Added some keywords for "make help". 2009-04-04 12:16:45 +00:00
sno
1b20e59350 Add the required mk/emulator plugin for AIX binary only packages.
Oked by joerg@
2009-03-22 22:31:46 +00:00
wiz
29f1f19b31 Remove suse-9.1 emulation packages.
They are long outdated and not maintained upstream.

Update infrastructure for their removal.

Removal was announced on pkgsrc-users on March 13.
2008-03-25 13:45:36 +00:00
jlam
645f805678 Add support for NetBSD 4.0 compatibility through installing compat40
and netbsd32_compat40 packages.  The compat40 packages are currently
built by comparing the 4.0 release against the 20071230 version of
HEAD.

Commit approved by <agc>.
2007-12-31 20:06:37 +00:00
dsl
d24555b956 Fix the .include lines so that make looks in the right place first.
Remember .include "foo.mk" is looked for (first) in the directory that
contains the makefile being processed (like in C), so remove all the
${.PARSEDIR} and ../ sequences that just cause grief.
2007-10-13 11:04:15 +00:00
rillig
1e1c37d2e2 Added _VARGROUPS. 2007-10-09 20:34:48 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
wiz
19c1a2725c Support alsa, libsigc++2, and resmgr emulation packages. 2007-09-07 23:04:55 +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
4fd552cb21 Use .PARSEDIR where it can be used to avoid hardcoding the path to the
emulator module.
2007-08-23 17:39:47 +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
58bc5f9939 Define a variable EMUL_IS_NATIVE if the emulated operating system
matches the native operating system.  Use it in place of checking
whether EMUL_DISTRO matches "native-*" as EMUL_DISTRO is no longer
defined after bsd.prefs.mk is included.

This should fix PR pkg/36823 by Robert Elz.
2007-08-23 13:43:57 +00:00
jlam
3961b685a7 Reorganize some code so that including bsd.prefs.mk doesn't expose
so much of the emulator framework.
2007-08-22 14:47:10 +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
jlam
6aef13a50f Suppress the "depends on installed package(s)" message so it doesn't get
printed for each EMUL_PLATFORM that is supported by the package.
2007-08-13 15:17:09 +00:00
ghen
fbad5e6c89 We forgot DragonFly. 2007-08-03 23:16:02 +00:00
jlam
c30218a3ef Support automatically using pkgsrc/emulators/osf1_lib to satisfy
EMUL_PLATFORM osf1-alpha.
2007-08-01 17:19:22 +00:00
jlam
8101baad23 Support automatically using pkgsrc/emulators/darwin_lib to satisfy
EMUL_PLATFORMs darwin-i386 and darwin-powerpc.
2007-08-01 16:28:08 +00:00
jlam
3f468312f3 Remove unused _EMUL_OPSYSES. 2007-08-01 15:20:10 +00:00
jlam
5321117c50 Automatically add EMUL_{PLATFORM,OPSYS,ARCH} to FILES_SUBST and
PLIST_SUBST to make life easier for package maintainers.
2007-07-31 20:02:48 +00:00
jlam
02381a6b80 Better formatting for the package- and user-settable variables, and
document the emul-* helper targets.
2007-07-29 09:24:33 +00:00
jlam
fdd4eac242 Improve the example by adding a typical use of EMUL_MODULES.linux. 2007-07-29 08:58:52 +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