pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/flac bl3ify and fix issue with MIPSpro compiler ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76a56de60e17
branches:  trunk
changeset: 467018:76a56de60e17
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jan 25 16:14:15 2004 +0000

description:
bl3ify and fix issue with MIPSpro compiler and this package by stripping
"-O3" from the compiler options.

diffstat:

 audio/flac/Makefile |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 4f0832671fd8 -r 76a56de60e17 audio/flac/Makefile
--- a/audio/flac/Makefile       Sun Jan 25 16:12:40 2004 +0000
+++ b/audio/flac/Makefile       Sun Jan 25 16:14:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/22 07:15:00 grant Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/25 16:14:15 jlam Exp $
 #
 
 DISTNAME=              flac-1.1.0
@@ -17,7 +17,7 @@
 .endif
 
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
-USE_BUILDLINK2=                yes
+USE_BUILDLINK3=                yes
 USE_GNU_TOOLS+=                make
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                ac_cv_path_XMMS_CONFIG="no"
@@ -25,5 +25,12 @@
 USE_LIBTOOL=           yes
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 
-.include "../../audio/libogg/buildlink2.mk"
+# This version of flac doesn't seem to build correctly with -O3 using
+# the MIPSpro compiler.
+#
+.if defined(USE_MIPSPRO)
+BUILDLINK_TRANSFORM+=  S:-O3:
+.endif
+
+.include "../../audio/libogg/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index