summaryrefslogtreecommitdiff
path: root/devel/SDL/Makefile
diff options
context:
space:
mode:
authormarkd <markd>2006-08-04 22:12:28 +0000
committermarkd <markd>2006-08-04 22:12:28 +0000
commit9cabb5b8ffdde4598aa9f1bd1ee6dbc0900dfaff (patch)
treeeb7984002a86c6475635f3bc1683b6c6bc59eeed /devel/SDL/Makefile
parent8c73da1c6e795cf0bf14bbf69a8f29933189d0d6 (diff)
downloadpkgsrc-9cabb5b8ffdde4598aa9f1bd1ee6dbc0900dfaff.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/Makefile')
-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}