pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc * Support netbsd-* as a valid platform in EMUL_PLATFOR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d289494533c0
branches:  trunk
changeset: 532504:d289494533c0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Aug 21 22:49:02 2007 +0000

description:
* 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.

diffstat:

 doc/CHANGES-2007                             |   22 +-
 emulators/Makefile                           |   17 +-
 emulators/compat12/DEINSTALL                 |   14 -
 emulators/compat12/DESCR                     |    7 +-
 emulators/compat12/INSTALL                   |   50 ---
 emulators/compat12/MESSAGE                   |    7 +
 emulators/compat12/Makefile                  |   55 +--
 emulators/compat12/PLIST                     |    5 -
 emulators/compat12/PLIST.a.out               |    7 +
 emulators/compat12/PLIST.i386                |    2 +
 emulators/compat12/PLIST.m68k                |    3 +
 emulators/compat12/PLIST.ns32k               |    2 +
 emulators/compat12/PLIST.sparc               |    2 +
 emulators/compat12/distinfo                  |   26 +-
 emulators/compat12/emulator.mk               |   51 +++
 emulators/compat13/DEINSTALL                 |   21 -
 emulators/compat13/DESCR                     |    6 +-
 emulators/compat13/INSTALL                   |   55 ---
 emulators/compat13/MESSAGE                   |    7 +
 emulators/compat13/Makefile                  |   63 +--
 emulators/compat13/PLIST                     |    5 -
 emulators/compat13/PLIST.ELF                 |   15 +
 emulators/compat13/PLIST.a.out               |    8 +
 emulators/compat13/PLIST.alpha               |    3 -
 emulators/compat13/PLIST.i386                |    3 +
 emulators/compat13/PLIST.m68k                |    2 +
 emulators/compat13/PLIST.mipsel              |    3 +
 emulators/compat13/PLIST.sparc               |    2 +
 emulators/compat13/distinfo                  |   47 +-
 emulators/compat13/emulator.mk               |   47 +++
 emulators/compat14/DEINSTALL                 |   22 -
 emulators/compat14/DESCR                     |    7 +-
 emulators/compat14/INSTALL                   |   56 ---
 emulators/compat14/MESSAGE                   |    7 +
 emulators/compat14/Makefile                  |   88 ++---
 emulators/compat14/PLIST                     |   48 ---
 emulators/compat14/PLIST.ELF                 |   15 +
 emulators/compat14/PLIST.a.out               |    9 +
 emulators/compat14/PLIST.alpha               |   22 +
 emulators/compat14/PLIST.arm                 |   10 +
 emulators/compat14/PLIST.i386                |   40 ++-
 emulators/compat14/PLIST.m68k                |   10 +
 emulators/compat14/PLIST.ns32k               |    2 +
 emulators/compat14/PLIST.powerpc             |   22 +
 emulators/compat14/PLIST.sparc               |   35 ++
 emulators/compat14/PLIST.vax                 |   10 +
 emulators/compat14/distinfo                  |   35 +-
 emulators/compat14/emulator.mk               |   47 +++
 emulators/compat15-extras/DESCR              |    4 +
 emulators/compat15-extras/Makefile           |   24 +
 emulators/compat15-extras/PLIST              |   62 ++++
 emulators/compat15-extras/PLIST.i386         |    7 +
 emulators/compat15-extras/PLIST.sparc        |    5 +
 emulators/compat15-extras/distinfo           |    8 +
 emulators/compat15/DESCR                     |    2 +
 emulators/compat15/MESSAGE                   |    7 +
 emulators/compat15/Makefile                  |   64 ++++
 emulators/compat15/PLIST.ELF                 |   53 +++
 emulators/compat15/PLIST.a.out               |   47 +++
 emulators/compat15/PLIST.alpha               |    8 +
 emulators/compat15/PLIST.arm                 |   17 +
 emulators/compat15/PLIST.i386                |   14 +
 emulators/compat15/PLIST.m68k                |   17 +
 emulators/compat15/PLIST.mipsel              |    8 +
 emulators/compat15/PLIST.powerpc             |   14 +
 emulators/compat15/PLIST.sparc               |    8 +
 emulators/compat15/PLIST.sparc64             |    2 +
 emulators/compat15/PLIST.vax                 |   16 +
 emulators/compat15/distinfo                  |   32 ++
 emulators/compat15/emulator.mk               |   57 ++++
 emulators/compat16-extras/DESCR              |    4 +
 emulators/compat16-extras/Makefile           |   24 +
 emulators/compat16-extras/PLIST              |  100 +++++++
 emulators/compat16-extras/PLIST.i386         |   98 ++++++
 emulators/compat16-extras/PLIST.sparc        |    4 +
 emulators/compat16-extras/distinfo           |    8 +
 emulators/compat16/DESCR                     |    4 +-
 emulators/compat16/MESSAGE                   |    8 +-
 emulators/compat16/Makefile                  |   71 +++-
 emulators/compat16/PLIST                     |   33 ++
 emulators/compat16/PLIST.alpha               |   11 +
 emulators/compat16/PLIST.arm                 |   11 +
 emulators/compat16/PLIST.i386                |  149 +---------
 emulators/compat16/PLIST.m68k                |   11 +
 emulators/compat16/PLIST.mipseb              |   11 +
 emulators/compat16/PLIST.mipsel              |   11 +
 emulators/compat16/PLIST.powerpc             |    9 +
 emulators/compat16/PLIST.sparc               |   11 +
 emulators/compat16/PLIST.sparc64             |   11 +
 emulators/compat16/PLIST.vax                 |    7 +
 emulators/compat16/distinfo                  |   35 ++-
 emulators/compat16/emulator.mk               |   43 +++
 emulators/compat20-extras/DESCR              |    4 +
 emulators/compat20-extras/Makefile           |   25 +
 emulators/compat20-extras/PLIST              |  295 ++++++++++++++++++++
 emulators/compat20-extras/PLIST.i386         |    9 +
 emulators/compat20-extras/PLIST.sparc        |    5 +
 emulators/compat20-extras/distinfo           |    8 +
 emulators/compat20/DESCR                     |    2 +
 emulators/compat20/MESSAGE                   |    7 +
 emulators/compat20/Makefile                  |   53 +++
 emulators/compat20/PLIST                     |    7 +
 emulators/compat20/distinfo                  |   41 ++
 emulators/compat20/emulator.mk               |   44 +++
 emulators/compat30-extras/DESCR              |    4 +
 emulators/compat30-extras/Makefile           |   28 +
 emulators/compat30-extras/PLIST              |  381 +++++++++++++++++++++++++++
 emulators/compat30-extras/PLIST.i386         |   18 +
 emulators/compat30-extras/PLIST.sparc        |   10 +
 emulators/compat30-extras/PLIST.vax          |    8 +
 emulators/compat30-extras/distinfo           |   11 +
 emulators/compat30/DESCR                     |    2 +
 emulators/compat30/MESSAGE                   |    7 +
 emulators/compat30/Makefile                  |   63 ++++
 emulators/compat30/PLIST                     |   49 +++
 emulators/compat30/PLIST.alpha               |    8 +
 emulators/compat30/PLIST.arm                 |    8 +
 emulators/compat30/PLIST.i386                |    8 +
 emulators/compat30/PLIST.m68k                |    8 +
 emulators/compat30/PLIST.mipseb              |    8 +
 emulators/compat30/PLIST.mipsel              |    8 +
 emulators/compat30/PLIST.powerpc             |    8 +
 emulators/compat30/PLIST.sh3eb               |    8 +
 emulators/compat30/PLIST.sh3el               |    8 +
 emulators/compat30/PLIST.sparc               |    8 +
 emulators/compat30/PLIST.sparc64             |    8 +
 emulators/compat30/PLIST.x86_64              |    8 +
 emulators/compat30/distinfo                  |   41 ++
 emulators/compat30/emulator.mk               |   44 +++
 emulators/compat_netbsd/DEINSTALL            |    9 +
 emulators/compat_netbsd/INSTALL.ELF          |  137 +++++++++
 emulators/compat_netbsd/INSTALL.a.out        |  140 +++++++++
 emulators/compat_netbsd/INSTALL.emulaout     |  134 +++++++++
 emulators/compat_netbsd/INSTALL.emulnetbsd32 |  110 +++++++
 emulators/compat_netbsd/Makefile.common      |  123 ++++++++
 emulators/netbsd32_compat14/DEINSTALL        |   19 -
 emulators/netbsd32_compat14/DESCR            |    5 -
 emulators/netbsd32_compat14/INSTALL          |   51 ---
 emulators/netbsd32_compat14/Makefile         |   56 ---
 emulators/netbsd32_compat14/PLIST            |   39 --
 emulators/netbsd32_compat14/PLIST.x86_64     |    3 -
 emulators/netbsd32_compat14/distinfo         |    8 -
 emulators/netbsd32_compat15-extras/Makefile  |    5 +
 emulators/netbsd32_compat15/DEINSTALL        |   20 -
 emulators/netbsd32_compat15/DESCR            |    5 -
 emulators/netbsd32_compat15/INSTALL          |   50 ---
 emulators/netbsd32_compat15/Makefile         |   64 +----
 emulators/netbsd32_compat15/PLIST            |  117 --------
 emulators/netbsd32_compat15/distinfo         |    5 -
 emulators/netbsd32_compat16-extras/Makefile  |    5 +
 emulators/netbsd32_compat16/DEINSTALL        |   18 -
 emulators/netbsd32_compat16/DESCR            |    5 -
 emulators/netbsd32_compat16/INSTALL          |   51 ---
 emulators/netbsd32_compat16/Makefile         |   66 +----
 emulators/netbsd32_compat16/PLIST            |  128 ---------
 emulators/netbsd32_compat16/PLIST.sparc64    |    8 -
 emulators/netbsd32_compat16/PLIST.x86_64     |    4 -
 emulators/netbsd32_compat16/distinfo         |    7 -
 emulators/netbsd32_compat20-extras/Makefile  |    5 +
 emulators/netbsd32_compat20/Makefile         |    5 +
 emulators/netbsd32_compat30-extras/Makefile  |    5 +
 emulators/netbsd32_compat30/Makefile         |    5 +
 mk/emulator/emulator-vars.mk                 |    8 +-
 mk/emulator/netbsd-compat.mk                 |   73 +++++
 mk/emulator/netbsd.mk                        |   48 +++
 mk/platform/NetBSD.mk                        |    5 +-
 166 files changed, 3632 insertions(+), 1368 deletions(-)

diffs (truncated from 5774 to 300 lines):

diff -r 45ae38672913 -r d289494533c0 doc/CHANGES-2007
--- a/doc/CHANGES-2007  Tue Aug 21 21:44:23 2007 +0000
+++ b/doc/CHANGES-2007  Tue Aug 21 22:49:02 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2007,v 1.1852 2007/08/21 15:44:27 abs Exp $
+$NetBSD: CHANGES-2007,v 1.1853 2007/08/21 22:49:02 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2007:
 
@@ -3385,3 +3385,23 @@
        Added devel/bazaar version 0.90rc1 [agc 2007-08-20]
        Updated devel/svk to 2.0.2 [bad 2007-08-21]
        Updated devel/cpuflags to 1.12  [abs 2007-08-21]
+       Updated emulators/compat12 to 1.2.1 [jlam 2007-08-21]
+       Updated emulators/compat13 to 1.3.3 [jlam 2007-08-21]
+       Updated emulators/compat14 to 1.4.3 [jlam 2007-08-21]
+       Added emulators/compat15 version 1.5.3 [jlam 2007-08-21]
+       Added emulators/compat15-extras version 1.5.3 [jlam 2007-08-21]
+       Updated emulators/compat16 to 1.6.2 [jlam 2007-08-21]
+       Added emulators/compat16-extras version 1.6.2 [jlam 2007-08-21]
+       Added emulators/compat20 version 2.1 [jlam 2007-08-21]
+       Added emulators/compat20-extras version 2.1 [jlam 2007-08-21]
+       Added emulators/compat30 version 3.1 [jlam 2007-08-21]
+       Added emulators/compat30-extras version 3.1 [jlam 2007-08-21]
+       Removed emulators/netbsd32_compat14 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat15 version 1.5.3 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat15-extras version 1.5.3 [jlam 2007-08-21]
+       Updated emulators/netbsd32_compat16 to 1.6.2 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat16-extras version 1.6.2 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat20 version 2.1 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat20-extras version 2.1 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat30 version 3.1 [jlam 2007-08-21]
+       Added emulators/netbsd32_compat30-extras version 3.1 [jlam 2007-08-21]
diff -r 45ae38672913 -r d289494533c0 emulators/Makefile
--- a/emulators/Makefile        Tue Aug 21 21:44:23 2007 +0000
+++ b/emulators/Makefile        Tue Aug 21 22:49:02 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.162 2007/08/16 14:01:38 jlam Exp $
+# $NetBSD: Makefile,v 1.163 2007/08/21 22:49:03 jlam Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -24,7 +24,15 @@
 SUBDIR+=       compat12
 SUBDIR+=       compat13
 SUBDIR+=       compat14
+SUBDIR+=       compat15
+SUBDIR+=       compat15-extras
 SUBDIR+=       compat16
+SUBDIR+=       compat16-extras
+SUBDIR+=       compat20
+SUBDIR+=       compat20-extras
+SUBDIR+=       compat30
+SUBDIR+=       compat30-extras
+#SUBDIR+=      compat_netbsd           # only contains Makefile fragments
 SUBDIR+=       cygwin_esound
 SUBDIR+=       cygwin_lib
 SUBDIR+=       darcnes
@@ -63,9 +71,14 @@
 SUBDIR+=       mednafen
 SUBDIR+=       minivmac
 SUBDIR+=       mmix
-SUBDIR+=       netbsd32_compat14
 SUBDIR+=       netbsd32_compat15
+SUBDIR+=       netbsd32_compat15-extras
 SUBDIR+=       netbsd32_compat16
+SUBDIR+=       netbsd32_compat16-extras
+SUBDIR+=       netbsd32_compat20
+SUBDIR+=       netbsd32_compat20-extras
+SUBDIR+=       netbsd32_compat30
+SUBDIR+=       netbsd32_compat30-extras
 SUBDIR+=       openmsx
 SUBDIR+=       or1ksim
 SUBDIR+=       osf1_lib
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/DEINSTALL
--- a/emulators/compat12/DEINSTALL      Tue Aug 21 21:44:23 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
-       COMPAT_LIBDIR=@COMPAT_LIBDIR@
-
-       ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || ${TRUE}
-
-       # Regenerate the shared library cache.  This should work on either
-       # a.out or on ELF with the 1.5 release.
-       #
-       ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
-       ;;
-esac
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/DESCR
--- a/emulators/compat12/DESCR  Tue Aug 21 21:44:23 2007 +0000
+++ b/emulators/compat12/DESCR  Tue Aug 21 22:49:02 2007 +0000
@@ -1,5 +1,2 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.1 through 1.2.1.
-You still need the option COMPAT_12 in your kernel configuration (and
-probably others; see options(4) for more information) to make use of
-NetBSD 1.2 binaries.
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.1 through 1.2.
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/INSTALL
--- a/emulators/compat12/INSTALL        Tue Aug 21 21:44:23 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
-       MACHINE_ARCH=@MACHINE_ARCH@
-       OBJECT_FMT=@OBJECT_FMT@
-
-       # Only create the symlink on certain platform/object combinations.
-       #
-       create_emul_symlink=0
-       if [ "${OBJECT_FMT}" = "ELF" ] && \
-          [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
-       then
-               create_emul_symlink=1
-       fi
-
-       if [ ${create_emul_symlink} = 1 ]
-       then
-               # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out
-               # if it doesn't already exist.  Warn if we can't do this.
-               #
-               emul=aout
-               if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
-                    != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
-               then
-                       if [ -e /emul/$emul -o -L /emul/$emul ] || \
-                          [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
-                       then
-                               ${CAT} <<EOF
-==============================================================================
-       IMPORTANT:  You must create a symbolic link from /emul/$emul
-       to ${PKG_PREFIX}/emul/$emul in order for this package to work
-       properly.
-
-       (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
-                       else
-                               ${MKDIR} -p /emul
-                               ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
-                       fi
-               fi
-       fi
-
-       # Regenerate the shared library cache.  This should work on either
-       # a.out or on ELF with the 1.5 release.
-       #
-       ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
-       ;;
-esac
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/MESSAGE        Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/08/21 22:49:03 jlam Exp $
+
+The COMPAT_12 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.2 binaries.
+===========================================================================
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/Makefile
--- a/emulators/compat12/Makefile       Tue Aug 21 21:44:23 2007 +0000
+++ b/emulators/compat12/Makefile       Tue Aug 21 22:49:02 2007 +0000
@@ -1,44 +1,31 @@
-# $NetBSD: Makefile,v 1.32 2006/10/19 19:37:38 wiz Exp $
-#
-
-DISTNAME=              compat12-${MACHINE_ARCH}
-PKGNAME=               compat12-1.2.1
-CATEGORIES=            emulators
-MASTER_SITES=          ${MASTER_SITE_LOCAL}
+# $NetBSD: Makefile,v 1.33 2007/08/21 22:49:04 jlam Exp $
 
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.NetBSD.org/Releases/formal-1.2/index.html
-COMMENT=               Shared libraries for NetBSD 1.2 (and earlier) compatibility
+DISTNAME=              compat12        # overridden below
+NETBSD_VERSION=                1.2
+PKGREVISION=           1
 
-ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-ns32k \
-                       NetBSD-*-sparc
-NO_SRC_ON_FTP=         Already in MASTER_SITE_LOCAL
+HOMEPAGE=              http://www.NetBSD.org/Releases/formal-1.2/index.html
+COMMENT=               Shared libraries for NetBSD 1.2 compatibility
 
-NO_BUILD=              yes
-NO_MTREE=              yes
-CHECK_SHLIBS_SUPPORTED=        no
+EMUL_PLATFORMS=                netbsd-i386 netbsd-m68k netbsd-ns32k netbsd-sparc
 
-FILES_SUBST+=          COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
-FILES_SUBST+=          MACHINE_ARCH=${MACHINE_ARCH:Q}
-FILES_SUBST+=          OBJECT_FMT=${OBJECT_FMT:Q}
-FILES_SUBST+=          LDCONFIG=${LDCONFIG:Q}
+ONLY_FOR_PLATFORM=     NetBSD-1.2[A-Z]*-* NetBSD-1.[3-9]*-*            \
+                       NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
 
-.include "../../mk/bsd.prefs.mk"
+.include "../../emulators/compat_netbsd/Makefile.common"
 
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
-    (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR=            emul/aout
-COMPAT_LIBDIR=         ${EMULSUBDIR}/usr/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE=             /usr
-COMPAT_LIBDIR=         lib
+.if (${EMUL_PLATFORM} == "netbsd-ns32k")
+DISTNAME=              compat12-${EMUL_ARCH}-1.2
+.else
+DISTNAME=              compat12-${EMUL_ARCH}-1.2.1
 .endif
 
-PLIST_SUBST+=          COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
-
-do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
-       ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
+# We need to depend on the compat13 package to supply shared libraries
+# missing from compat12 on NetBSD>1.3.
+#
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-2]*) && \
+    empty(OS_VERSION:M1.3) && empty(OS_VERSION:M1.3.*)
+DEPENDS+=              compat13>=1.3:../../emulators/compat13
+.endif
 
 .include "../../mk/bsd.pkg.mk"
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST
--- a/emulators/compat12/PLIST  Tue Aug 21 21:44:23 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:20 zuntum Exp $
-${COMPAT_LIBDIR}/libedit.so.0.0
-${COMPAT_LIBDIR}/libg++.so.2.0
-${COMPAT_LIBDIR}/libg++.so.3.0
-${COMPAT_LIBDIR}/libutil.so.3.2
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST.a.out
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/PLIST.a.out    Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.a.out,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libedit.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.3.2
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST.i386
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/PLIST.i386     Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.2.0
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST.m68k
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/PLIST.m68k     Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.m68k,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST.ns32k
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/PLIST.ns32k    Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.ns32k,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/PLIST.sparc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/compat12/PLIST.sparc    Tue Aug 21 22:49:02 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:05 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
diff -r 45ae38672913 -r d289494533c0 emulators/compat12/distinfo
--- a/emulators/compat12/distinfo       Tue Aug 21 21:44:23 2007 +0000
+++ b/emulators/compat12/distinfo       Tue Aug 21 22:49:02 2007 +0000
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.4 2005/10/23 14:32:06 rillig Exp $
+$NetBSD: distinfo,v 1.5 2007/08/21 22:49:05 jlam Exp $
 
-SHA1 (compat12-i386.tar.gz) = bce1f72c4fd9cdbe25a219a65ee0af7dd5257f16
-RMD160 (compat12-i386.tar.gz) = 63ea39032c6ea1a514aea0e80494d3910b31b33f
-Size (compat12-i386.tar.gz) = 285376 bytes
-SHA1 (compat12-m68k.tar.gz) = d319f63b47dbf28692796be296bbf7fcba2e5b4f
-RMD160 (compat12-m68k.tar.gz) = 55bb1555c20f617f950a917c2ebdf35ae5a7bcea
-Size (compat12-m68k.tar.gz) = 277202 bytes
-SHA1 (compat12-ns32k.tar.gz) = 66cb355f99369d2ce0a0e07c0f97593d57a5c2f1
-RMD160 (compat12-ns32k.tar.gz) = 688e2b2b812945861a289a8bc8459c7b1116bdee
-Size (compat12-ns32k.tar.gz) = 267367 bytes
-SHA1 (compat12-sparc.tar.gz) = 4af06ed70c66af5d676b292fe24dd0f945337916
-RMD160 (compat12-sparc.tar.gz) = e8e6d4a8b090e1f4bac9783ed49813bda70d52b7



Home | Main Index | Thread Index | Old Index