summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorsalo <salo>2003-06-23 10:34:29 +0000
committersalo <salo>2003-06-23 10:34:29 +0000
commit06f8caee40fe319e75b697b754939e3bd05bef57 (patch)
treef6ebaa81fd481dccc653a7370a527544b3770076 /devel/SDL
parent1b8b7098087475886603ca613ba0f0205854a7cd (diff)
downloadpkgsrc-06f8caee40fe319e75b697b754939e3bd05bef57.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