summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-06-23 10:34:29 +0000
committersalo <salo@pkgsrc.org>2003-06-23 10:34:29 +0000
commit2a3647d05ec84e34d740a9c72e4e2476fcc6305f (patch)
treef6ebaa81fd481dccc653a7370a527544b3770076 /devel/SDL
parent624f6076cc9f83f639a3bcb42bda6ddd9108ba35 (diff)
downloadpkgsrc-2a3647d05ec84e34d740a9c72e4e2476fcc6305f.tar.gz
Depend on nasm only on i386, it's ignored otherwise by configure anyway.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index cfa908448df..3f384add145 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2003/05/02 11:54:18 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2003/06/23 10:34:29 salo Exp $
#
DISTNAME= SDL-1.2.5
@@ -10,10 +10,6 @@ MAINTAINER= wiz@netbsd.org
HOMEPAGE= http://www.libsdl.org/
COMMENT= Simple DirectMedia Layer, a cross-platform multimedia library
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-NASMFLAGS_ELF= -f elf
-NASMFLAGS_a.out= -f aoutb
-
USE_BUILDLINK2= YES
USE_X11= YES
GNU_CONFIGURE= YES
@@ -25,6 +21,12 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
.include "../../mk/bsd.prefs.mk"
+.if ${MACHINE_ARCH} == "i386"
+BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
+NASMFLAGS_ELF= -f elf
+NASMFLAGS_a.out= -f aoutb
+.endif
+
.if defined(SDL_USE_NAS)
. include "../../audio/nas/buildlink2.mk"
.else