summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-03 22:19:08 +0000
committersnj <snj@pkgsrc.org>2004-05-03 22:19:08 +0000
commit40fe4910a1a7006e2c395d4f9ed8dd59e65dc046 (patch)
tree475ca9a7d8698c6d519590710ee32806f70b4ab0 /audio
parent4944e7168bf67422bd4ffc96ea1c7a47e6353156 (diff)
downloadpkgsrc-40fe4910a1a7006e2c395d4f9ed8dd59e65dc046.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/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"