summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-08-04 22:12:28 +0000
committermarkd <markd@pkgsrc.org>2006-08-04 22:12:28 +0000
commita18c54cebc675acdf626a05e3ad53e232b8642c0 (patch)
treeeb7984002a86c6475635f3bc1683b6c6bc59eeed /devel/SDL
parent5b3c17c42bb47ccaf4ed1d389ad54f52d7e4c580 (diff)
downloadpkgsrc-a18c54cebc675acdf626a05e3ad53e232b8642c0.tar.gz
Don't try and do assembler on Solaris, it doesn't get it right.
Fixes PR pkg/31075.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index 045449f2310..47f5ae4f7df 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2006/07/23 16:21:28 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2006/08/04 22:12:28 markd Exp $
DISTNAME= SDL-1.2.11
PKGREVISION= 1
@@ -23,11 +23,13 @@ CPPFLAGS+= -DX11BASE="\"${X11BASE}\""
.include "../../mk/bsd.prefs.mk"
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS"
. include "../../devel/binutils/buildlink3.mk"
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
NASMFLAGS_ELF= -f elf
NASMFLAGS_a.out= -f aoutb
+.else
+CONFIGURE_ARGS+= --disable-nasm
.endif
.if ${OPSYS:MNetBSD}