summaryrefslogtreecommitdiff
path: root/audio/libsndfile
diff options
context:
space:
mode:
authorsnj <snj>2004-05-03 22:19:08 +0000
committersnj <snj>2004-05-03 22:19:08 +0000
commitc3072a5011a16d9dad70f8bebf2f23116dc9e692 (patch)
tree475ca9a7d8698c6d519590710ee32806f70b4ab0 /audio/libsndfile
parente62a1a2a3ab1f1dc716387c74b7d3c91c6d53c58 (diff)
downloadpkgsrc-c3072a5011a16d9dad70f8bebf2f23116dc9e692.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/Makefile9
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"