pkgsrc/emulators/suse_linux/Makefile.application
joerg 1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00

29 lines
943 B
Text

# $NetBSD: Makefile.application,v 1.17 2005/12/12 14:43:25 joerg Exp $
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly") && \
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
. if !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}"
.endif