summaryrefslogtreecommitdiff
path: root/games/majesty-demo
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-12 14:43:23 +0000
committerjoerg <joerg>2005-12-12 14:43:23 +0000
commit540e0281a4e91b921b54e3d9f8acb7bac1458637 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /games/majesty-demo
parent58cc45f1a9669fddaa13933caba743bb1880c96c (diff)
downloadpkgsrc-540e0281a4e91b921b54e3d9f8acb7bac1458637.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