diff options
author | snj <snj@pkgsrc.org> | 2004-05-03 22:19:08 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-03 22:19:08 +0000 |
commit | 102b5ad6f42052b341c17c36e3fb29fe420a9e20 (patch) | |
tree | 475ca9a7d8698c6d519590710ee32806f70b4ab0 /audio/libsndfile | |
parent | 1bcae296067c6cff3c8dcbb35328e4dccc186ca0 (diff) | |
download | pkgsrc-102b5ad6f42052b341c17c36e3fb29fe420a9e20.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/libsndfile')
-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" |