diff options
author | sketch <sketch@pkgsrc.org> | 2009-09-18 13:29:31 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-09-18 13:29:31 +0000 |
commit | b875bfa0f1437df844102a6e3ece616f80bc9a42 (patch) | |
tree | a8a88d0cdcdc64c7867d8b860617911f284d4e87 /audio | |
parent | 564c1fa755b10057b6067d02ed9317b99eda052b (diff) | |
download | pkgsrc-b875bfa0f1437df844102a6e3ece616f80bc9a42.tar.gz |
Use -features=extensions with sunpro C++ to get __func__
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libsndfile/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile index 3e8ef4a172e..363c074a665 100644 --- a/audio/libsndfile/Makefile +++ b/audio/libsndfile/Makefile @@ -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 @@ CONFIGURE_ENV+= ac_cv_c_struct_hack=yes 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" |