pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libsndfile This package compiles with gcc2, so l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e51d0ecd16f
branches:  trunk
changeset: 474673:2e51d0ecd16f
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon May 03 22:19:08 2004 +0000

description:
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:

 audio/libsndfile/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r db35900fd3ce -r 2e51d0ecd16f audio/libsndfile/Makefile
--- a/audio/libsndfile/Makefile Mon May 03 21:50:41 2004 +0000
+++ b/audio/libsndfile/Makefile Mon May 03 22:19:08 2004 +0000
@@ -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 @@
 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"
 



Home | Main Index | Thread Index | Old Index