diff options
author | snj <snj> | 2004-05-03 22:19:08 +0000 |
---|---|---|
committer | snj <snj> | 2004-05-03 22:19:08 +0000 |
commit | d378f9e620b451cf0987d4fafb0e2702517d412e (patch) | |
tree | 475ca9a7d8698c6d519590710ee32806f70b4ab0 /audio | |
parent | 5ea7d9fa3bfdf09f8f2c9a2d96a76f6cbf72332d (diff) | |
download | pkgsrc-d378f9e620b451cf0987d4fafb0e2702517d412e.tar.gz |
This package compiles with gcc2, so let configure know that. Idea stolen
from Michael van Elst in PR pkg/25047.
While here, reinstate the sparc64 gcc2 f77 workaround.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libsndfile/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile index 82f50150767..f78a6137e43 100644 --- a/audio/libsndfile/Makefile +++ b/audio/libsndfile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2004/04/25 12:07:12 dillo Exp $ +# $NetBSD: Makefile,v 1.21 2004/05/03 22:19:08 snj Exp $ # DISTNAME= libsndfile-1.0.9 @@ -14,8 +14,11 @@ GNU_CONFIGURE= YES USE_LIBTOOL= YES PKGCONFIG_OVERRIDE= sndfile.pc.in -# This package needs a C99 compiler -GCC_REQD+= 3.1 + +# This package compiles with gcc2, but its configure script doesn't know that +CONFIGURE_ENV+= ac_cv_c_struct_hack=yes +# Avoid an ICE in gcc2 on sparc64 +CONFIGURE_ENV+= F77=${FALSE} .include "../../mk/bsd.prefs.mk" |