pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libtheora Pass --disable-asm when using Sun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6980502d738
branches:  trunk
changeset: 553684:b6980502d738
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jan 27 21:55:04 2009 +0000

description:
Pass --disable-asm when using Sun Studio.

diffstat:

 multimedia/libtheora/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r dcbbb6ce26f5 -r b6980502d738 multimedia/libtheora/Makefile
--- a/multimedia/libtheora/Makefile     Tue Jan 27 20:37:25 2009 +0000
+++ b/multimedia/libtheora/Makefile     Tue Jan 27 21:55:04 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2009/01/22 15:14:23 is Exp $
+# $NetBSD: Makefile,v 1.24 2009/01/27 21:55:04 sketch Exp $
 #
 
 .include "Makefile.common"
@@ -17,6 +17,12 @@
 CONFIGURE_ENV+=                HAVE_BIBTEX=no
 CONFIGURE_ENV+=                HAVE_PDFLATEX=no
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CONFIGURE_ARGS+=       --disable-asm
+.endif
+
 # avoid installing docs
 do-install:
        cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} install-pkgconfigDATA



Home | Main Index | Thread Index | Old Index