summaryrefslogtreecommitdiff
path: root/games/majesty-demo
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
commit1f6a39a84e10fec37df3728c67f6821cc88e7231 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /games/majesty-demo
parent7923936df560993a53a43905e2f693c1d5d6fdba (diff)
downloadpkgsrc-1f6a39a84e10fec37df3728c67f6821cc88e7231.tar.gz
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.
Diffstat (limited to 'games/majesty-demo')
-rw-r--r--games/majesty-demo/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/majesty-demo/Makefile b/games/majesty-demo/Makefile
index 2006677cb98..7b259b3494a 100644
--- a/games/majesty-demo/Makefile
+++ b/games/majesty-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/07/15 18:27:50 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2005/12/12 14:43:25 joerg Exp $
#
DISTNAME= majesty_demo
@@ -19,9 +19,13 @@ ONLY_FOR_PLATFORM=*-*-i386
WRKSRC= ${WRKDIR}
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
.if (${MACHINE_ARCH} == "i386")
DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
+.endif
BINNAME= maj_demo
LGP_PATH= ${PREFIX}/lib/lgp