pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libsndfile Use -features=extensions with sunpro ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/982bb3c40714
branches:  trunk
changeset: 399351:982bb3c40714
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Fri Sep 18 13:29:31 2009 +0000

description:
Use -features=extensions with sunpro C++ to get __func__

diffstat:

 audio/libsndfile/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 2769d59fa100 -r 982bb3c40714 audio/libsndfile/Makefile
--- a/audio/libsndfile/Makefile Fri Sep 18 13:18:54 2009 +0000
+++ b/audio/libsndfile/Makefile Fri Sep 18 13:29:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2009/06/08 09:32:16 tron Exp $
+# $NetBSD: Makefile,v 1.54 2009/09/18 13:29:31 sketch Exp $
 
 DISTNAME=      libsndfile-1.0.20
 PKGREVISION=   1
@@ -38,6 +38,10 @@
 BUILDLINK_PASSTHRU_DIRS+=      /Developer
 .endif
 
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CXXFLAGS+=             -features=extensions
+.endif
+
 .include "../../audio/flac/buildlink3.mk"
 #BUILDLINK_API_DEPENDS.libvorbis+=     libvorbis>=1.2.1
 .include "../../audio/libvorbis/buildlink3.mk"



Home | Main Index | Thread Index | Old Index