Permalink
Browse files

Only depend on nasm for the i386 build. Addresses PR#33084

  • Loading branch information...
1 parent 720a05a commit 4e29b608e886604b41df7b722b4e739c1a2e9cf5 ben committed Mar 18, 2006
Showing with 4 additions and 4 deletions.
  1. +4 −4 emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2006/03/09 21:04:43 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2006/03/18 13:28:53 ben Exp $
DISTNAME= s9xs139
PKGNAME= snes9x-1.39
@@ -7,12 +7,10 @@ CATEGORIES= emulators
MASTER_SITES= http://www.snes9x.com/zips/
EXTRACT_SUFX= .zip
-MAINTAINER= jmcneill@NetBSD.org
+MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://www.snes9x.com/
COMMENT= Super Nintendo Entertainment System (SNES) emulator
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-
WRKSRC= ${WRKDIR}/release
USE_TOOLS+= gmake
PTHREAD_OPTS+= require
@@ -34,6 +32,7 @@ do-install:
PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x
.if ${MACHINE_ARCH} == "i386"
+BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
PKG_SUPPORTED_OPTIONS= mmx
.endif
@@ -67,6 +66,7 @@ MAKE_ENV+= USBHID_H=1
.endif
.endif
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"

0 comments on commit 4e29b60

Please sign in to comment.