pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/xz Explicitly disable assembler when using s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2769d59fa100
branches:  trunk
changeset: 399350:2769d59fa100
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Fri Sep 18 13:18:54 2009 +0000

description:
Explicitly disable assembler when using sunpro, it can't handle it.

diffstat:

 archivers/xz/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 743f84709344 -r 2769d59fa100 archivers/xz/Makefile
--- a/archivers/xz/Makefile     Fri Sep 18 13:09:02 2009 +0000
+++ b/archivers/xz/Makefile     Fri Sep 18 13:18:54 2009 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index