Permalink
Browse files

Move the check-shlibs target from bsd.pkg.mk to bsd.pkg.check.mk where

it will live with other "check" targets run after package installation.

Get rid of SHLIB_HANDLING, whose meaning had mutated over the years
from one thing to another.  Currently, it is used to basically note
whether the system's "ldd" command can be usefully run on the package's
binaries and libraries.  Rename this variable to CHECK_SHLIBS_SUPPORTED
for more clarity.

CHECK_SHLIBS is now a variable set exclusively by the user in /etc/mk.conf
to note whether the check for missing run-time search paths is performed
after a package is installed.  It defaults to "no" unless PKG_DEVELOPER
is set.
  • Loading branch information...
jlam
jlam committed May 22, 2006
1 parent 93d39bd commit 5bc2a0a71c7e32fc4836ca9d2aa4969a928ca0f6
Showing with 163 additions and 184 deletions.
  1. +1 −2 archivers/rar-bin/Makefile
  2. +1 −2 archivers/stuffit/Makefile
  3. +1 −2 archivers/unace-bin/Makefile
  4. +1 −2 cad/eagle/Makefile
  5. +1 −2 chat/aim/Makefile
  6. +1 −3 chat/ymessenger/Makefile
  7. +2 −2 cross/i386-linux/Makefile
  8. +3 −3 devel/eclipse/Makefile
  9. +2 −3 devel/pvs/Makefile
  10. +2 −2 emulators/compat12/Makefile
  11. +2 −2 emulators/compat13/Makefile
  12. +2 −2 emulators/compat14-crypto/Makefile
  13. +2 −2 emulators/compat14/Makefile
  14. +2 −2 emulators/compat16/Makefile
  15. +2 −3 emulators/linuxppc_lib/Makefile
  16. +1 −2 emulators/m1/Makefile
  17. +2 −2 emulators/netbsd32_compat14/Makefile
  18. +2 −2 emulators/netbsd32_compat15/Makefile
  19. +2 −2 emulators/netbsd32_compat16/Makefile
  20. +2 −3 emulators/osf1_lib/Makefile
  21. +1 −2 emulators/ski/Makefile
  22. +7 −1 emulators/suse_linux/Makefile.application
  23. +1 −2 emulators/vmware/Makefile
  24. +1 −2 emulators/vmware3/Makefile
  25. +1 −3 emulators/xyame/Makefile
  26. +1 −2 games/adom/Makefile
  27. +1 −2 games/quake3arena/Makefile
  28. +1 −2 games/rollemup/Makefile
  29. +1 −2 games/rtcw/Makefile
  30. +2 −2 graphics/ns-cult3d/Makefile
  31. +1 −2 lang/Cg-compiler/Makefile
  32. +3 −3 lang/blackdown-jre13/Makefile.common
  33. +2 −3 lang/jdk/Makefile
  34. +2 −6 lang/mit-scheme-bin/Makefile
  35. +2 −4 misc/latin-words-bin/Makefile
  36. +2 −2 misc/openoffice-bin/Makefile
  37. +2 −2 misc/openoffice2-bin/Makefile
  38. +57 −2 mk/bsd.pkg.check.mk
  39. +3 −46 mk/bsd.pkg.mk
  40. +1 −2 multimedia/divxplayer/Makefile
  41. +1 −2 multimedia/ns-flash/Makefile
  42. +1 −2 net/edonkey2k/Makefile
  43. +1 −2 net/overnet/Makefile
  44. +1 −2 net/skype/Makefile
  45. +3 −2 pkgtools/x11-links/openwin.mk
  46. +3 −4 print/acroread/Makefile
  47. +4 −4 print/acroread3/Makefile
  48. +8 −9 print/acroread5/Makefile
  49. +9 −10 print/acroread7/Makefile
  50. +1 −2 security/uvscan/Makefile
  51. +1 −2 sysutils/storage-manager/Makefile
  52. +1 −2 www/asWedit/Makefile
  53. +2 −2 www/firefox-bin-flash/Makefile.common
  54. +1 −2 www/ns-plugger-common/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/03/03 22:36:09 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= rarlinux-3.5.1
@@ -28,7 +28,6 @@ DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
NO_BUILD= YES
NO_CONFIGURE= YES
-CHECK_SHLIBS= NO
INSTALLATION_DIRS= bin lib
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/04/22 09:22:05 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2006/05/22 22:22:02 jlam Exp $
DISTNAME= stuffit520.611linux-i386
PKGNAME= stuffit-5.2.0.611
@@ -25,7 +25,6 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}
-CHECK_SHLIBS= NO
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/05/17 06:12:27 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= linunace25
@@ -28,7 +28,6 @@ DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
NO_BUILD= YES
NO_CONFIGURE= YES
-CHECK_SHLIBS= NO
INSTALLATION_DIRS= bin
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/04/22 09:22:06 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= eagle-lin-eng-4.14
@@ -19,7 +19,6 @@ DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
ONLY_FOR_PLATFORM= *-*-i386
-CHECK_SHLIBS= NO # this is Linux software
RESTRICTED= Redistribution not permitted
LICENSE= fee-based-commercial-use
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/02/05 23:08:23 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2006/05/22 22:22:02 jlam Exp $
DISTNAME= aim-1.5.286
PKGREVISION= 1
@@ -33,7 +33,6 @@ DEPENDS+= suse_gtk>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_gtk
ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}
-CHECK_SHLIBS= NO
NO_BUILD= YES
EXTRACT_ONLY= # nothing
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/05/02 14:13:11 gdt Exp $
+# $NetBSD: Makefile,v 1.16 2006/05/22 22:22:02 jlam Exp $
DISTNAME= ymessenger-1.0.4
CATEGORIES= chat
@@ -23,8 +23,6 @@ DEPENDS+= suse_gdk-pixbuf>=6.4:../../emulators/${SUSE_DIR_PREFIX}_gdk-pixbuf
ONLY_FOR_PLATFORM= *-*-i386
-CHECK_SHLIBS= no
-
DIST_SUBDIR= .
LICENSE= generic-nonlicense
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:07 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/05/22 22:22:02 jlam Exp $
#
DISTVERSION= 2.0.7.1
@@ -12,7 +12,7 @@ COMMENT= Cross-compile environment for iX86 Linux, libc v6
BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
-CHECK_SHLIBS= no
+CHECK_SHLIBS_SUPPORTED= no
WRKSRC= ${WRKDIR}
USE_CROSS_BINUTILS= yes
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/02/06 22:51:09 abs Exp $
+# $NetBSD: Makefile,v 1.20 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= ${PKGNAME_NOREV}
@@ -39,8 +39,8 @@ INSTALLATION_DIRS= bin
do-build:
cd ${WRKDIR} && ${MAKE_ENV} ${SH} build -os linux -ws motif -arch x86
.else
-NO_BUILD= yes
-CHECK_SHLIBS= NO
+NO_BUILD= yes
+CHECK_SHLIBS_SUPPORTED= no
do-extract:
${MKDIR} ${WRKDIR}/result
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/05/13 03:44:23 minskim Exp $
+# $NetBSD: Makefile,v 1.29 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= pvs-${VERSION}
@@ -22,8 +22,7 @@ DEPENDS+= tk>=8.0:../../x11/tk
WRKSRC= ${WRKDIR}
VERSION= 3.2
NO_BUILD= yes
-CHECK_SHLIBS= NO
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
INFO_FILES= # PLIST
TEX_ACCEPTED= teTeX2 teTeX3
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/03/14 01:14:27 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= compat12-${MACHINE_ARCH}
@@ -15,7 +15,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-ns32k \
NO_BUILD= yes
NO_MTREE= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/03/14 01:14:27 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= compat13-${MACHINE_ARCH}${PKGMINOR}
@@ -18,7 +18,7 @@ NOT_FOR_PLATFORM= NetBSD-1.3*-*
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= compat14-crypto-${MACHINE_ARCH}-${VERSION}
@@ -22,7 +22,7 @@ CRYPTO= YES
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/05/22 22:22:02 jlam Exp $
#
DISTNAME= compat14-${MACHINE_ARCH}-${VERSION}
@@ -20,7 +20,7 @@ NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-*
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:34 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= compat16-${MACHINE_ARCH}-${VERSION}
@@ -18,7 +18,7 @@ ONLY_FOR_PLATFORM= NetBSD-1.6[A-Z]*-i386 NetBSD-[2-9]*-i386
NO_MTREE= yes
NO_BUILD= yes
NO_CONFIGURE= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
EMULSUBDIR= emul/netbsd16
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/02/05 23:09:01 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2006/05/22 22:22:03 jlam Exp $
DISTNAME= linuxppc_lib-2000.4.6
PKGREVISION= 1
@@ -27,8 +27,7 @@ ONLY_FOR_PLATFORM= NetBSD-1.5[U-Z]-powerpc NetBSD-1.5Z[A-Z]-powerpc \
NetBSD-1.6*-powerpc NetBSD-[2-9]*-powerpc
WRKSRC= ${WRKDIR}/${DISTNAME}
-SHLIB_HANDLING= NO
-CHECK_SHLIBS= NO
+CHECK_SHLIBS_SUPPORTED= no
DIST_SUBDIR= linuxppc_lib
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:02 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= m1074b2-lnx
@@ -22,7 +22,6 @@ ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}/m1-0.7.4
NO_BUILD= yes
-CHECK_SHLIBS= no
INSTALLATION_DIRS= bin
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= compat14-${MACHINE32_ARCH}-${VERSION}
@@ -28,7 +28,7 @@ ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/05/22 22:22:03 jlam Exp $
#
.if ${MACHINE_ARCH} == "sparc64"
@@ -22,7 +22,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-sparc64
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBEXECDIR=${COMPAT_LIBEXECDIR:Q}
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/05/22 22:22:03 jlam Exp $
#
.if ${MACHINE_ARCH} == "sparc64"
@@ -31,7 +31,7 @@ ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64
NO_MTREE= yes
NO_BUILD= yes
-SHLIB_HANDLING= NO
+CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_EMULSUBDIR=${COMPAT_EMULSUBDIR:Q}
FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q}
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/04/22 09:22:08 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2006/05/22 22:22:03 jlam Exp $
DISTNAME= netscape-4.7-3.alpha
PKGNAME= osf1_lib-1.1
@@ -34,8 +34,7 @@ DEINSTALL_SRC= # empty
RPMARGS= -i usr/lib -i usr/bin ${DISTDIR}/${DISTFILES}
-CHECK_SHLIBS= no
-SHLIB_HANDLING= no
+CHECK_SHLIBS_SUPPORTED= no
.include "../../mk/x11.buildlink3.mk"
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/10 23:45:14 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2006/05/22 22:22:03 jlam Exp $
DISTNAME= ski-0.9.81-l6-i686
PKGNAME= ski-0.9.81.6
@@ -25,7 +25,6 @@ DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
WRKSRC= ${WRKDIR}
INTERACTIVE_STAGE= fetch extract
-CHECK_SHLIBS= NO
NO_BUILD= YES
DOWNLOAD= http://www.hpl.hp.com/research/linux/ski/download.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.application,v 1.18 2006/03/09 20:42:38 tonio Exp $
+# $NetBSD: Makefile.application,v 1.19 2006/05/22 22:22:03 jlam Exp $
.include "../../mk/bsd.prefs.mk"
@@ -28,4 +28,10 @@ USE_NATIVE_LINUX= # empty
SUSE_DIR_PREFIX= suse
SUSE_VERSION= 0
PKG_SKIP_REASON+= "${PKGNAME} requires compat_linux, which is not available for ${MACHINE_PLATFORM}"
+#
+# By default, we can't check for missing shared libraries nor note which
+# shared libraries are provided and/or required by the package since the
+# library support is via syscall emulation.
+#
+CHECK_SHLIBS_SUPPORTED?= no
.endif
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:37 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/05/22 22:22:03 jlam Exp $
DISTNAME= VMware-2.0.4-1142
PKGNAME= vmware-2.0.4
@@ -25,7 +25,6 @@ DEPENDS+= suse_vmware>=6.4nb1:../../emulators/${SUSE_DIR_PREFIX}_vmware
LICENSE= vmware-license
WRKSRC= ${WRKDIR}/vmware-distrib
-CHECK_SHLIBS= NO
ONLY_FOR_PLATFORM= NetBSD-*-i386
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/26 21:37:12 veego Exp $
+# $NetBSD: Makefile,v 1.16 2006/05/22 22:22:03 jlam Exp $
DISTNAME= VMware-workstation-3.2.1-2242
PKGNAME= vmware-3.2.1pl1
@@ -30,7 +30,6 @@ DEPENDS+= suse_vmware>=6.4nb1:../../emulators/${SUSE_DIR_PREFIX}_vmware
LICENSE= vmware-license
WRKSRC= ${WRKDIR}/vmware-distrib
-CHECK_SHLIBS= NO
ONLY_FOR_PLATFORM= NetBSD-*-i386
# There is a kernel bug in NetBSD 3.0 for vmware.
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:05 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= xyame038
@@ -21,8 +21,6 @@ WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
NO_BUILD= yes
-CHECK_SHLIBS= no
-
ONLY_FOR_PLATFORM+= *-*-i386
INSTALLATION_DIRS= bin man/man6
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/02/05 23:09:12 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= adom-111-elf
@@ -16,7 +16,6 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
WRKSRC= ${WRKDIR}/adom
NO_BUILD= YES
NO_CONFIGURE= YES
-CHECK_SHLIBS= NO
.include "../../emulators/suse_linux/Makefile.application"
Oops, something went wrong.

0 comments on commit 5bc2a0a

Please sign in to comment.