summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2009-09-18 13:18:54 +0000
committersketch <sketch@pkgsrc.org>2009-09-18 13:18:54 +0000
commit564c1fa755b10057b6067d02ed9317b99eda052b (patch)
treea0034656d190eac0ea459b64300f9e758052a71b /archivers
parentc9018b1443684e03327e4dd12676ce6ba77b4684 (diff)
downloadpkgsrc-564c1fa755b10057b6067d02ed9317b99eda052b.tar.gz
Explicitly disable assembler when using sunpro, it can't handle it.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/xz/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile
index fe40bf289c8..6f1843e2687 100644
--- a/archivers/xz/Makefile
+++ b/archivers/xz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/08/31 08:59:11 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2009/09/18 13:18:54 sketch Exp $
#
DISTNAME= xz-4.999.9beta
@@ -18,6 +18,12 @@ PKGCONFIG_OVERRIDE= src/liblzma/liblzma.pc.in
CONFLICTS= lzma-[0-9]* lzma-utils-[0-9]* lzmalib-[0-9]*
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CONFIGURE_ARGS+= --disable-assembler
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"