60f791e1e6
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.
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# $NetBSD: Makefile.application,v 1.19 2006/05/22 22:22:03 jlam Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly") && \
|
|
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
|
|
|
|
. if !empty(SUSE_PREFER:M10.0)
|
|
. include "../../emulators/suse100_linux/vars.mk"
|
|
. elif !empty(SUSE_PREFER:M9.1)
|
|
. include "../../emulators/suse91_linux/vars.mk"
|
|
. else
|
|
. include "../../emulators/suse_linux/vars.mk"
|
|
. endif
|
|
|
|
. if defined(RPMFILES)
|
|
. include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
|
|
. endif
|
|
|
|
.elif ${OPSYS} == "Linux"
|
|
# No Linux emulation is needed
|
|
USE_NATIVE_LINUX= # empty
|
|
.else
|
|
# we put a value here so that the creation of the bulk
|
|
# build cache files works correctly on non-i386 machines.
|
|
# This speeds up the marking of all compat_linux packages
|
|
# as not available.
|
|
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
|