From 1f6a39a84e10fec37df3728c67f6821cc88e7231 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 12 Dec 2005 14:43:23 +0000 Subject: 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. --- games/adom/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'games/adom') diff --git a/games/adom/Makefile b/games/adom/Makefile index 90c692a847e..56d7555230e 100644 --- a/games/adom/Makefile +++ b/games/adom/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/11/10 06:24:49 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2005/12/12 14:43:25 joerg Exp $ # DISTNAME= adom-111-elf @@ -17,9 +17,9 @@ NO_BUILD= YES NO_CONFIGURE= YES CHECK_SHLIBS= NO -.include "../../mk/bsd.prefs.mk" +.include "../../emulators/suse_linux/Makefile.application" -.if ${OPSYS} == "NetBSD" +.if !defined(USE_NATIVE_LINUX) DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base .endif @@ -30,5 +30,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom ${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin -.include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3