From fa31429b833d5855d2547d5c7badbdfcac7300ef Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 30 Dec 2001 08:00:45 +0000 Subject: don't compile these packages if egcs is the compiler, as it generates bad ogg files. --- audio/libvorbis/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'audio/libvorbis') diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile index 2bbbdbca8de..80391850691 100644 --- a/audio/libvorbis/Makefile +++ b/audio/libvorbis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/12/29 16:53:34 abs Exp $ +# $NetBSD: Makefile,v 1.13 2001/12/30 08:00:46 lukem Exp $ DISTNAME= libvorbis-1.0rc2 PKGNAME= libvorbis-1.0.0.6 @@ -20,12 +20,9 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig PLIST_SUBST+= DISTNAME=${DISTNAME} -.if (${MACHINE_ARCH} == "arm32") -ARM32_COMPILER_WORKAROUND!=gcc -v 2>&1 | awk '/egcs-2.91.66/{print $$3}' -.ifdef ${ARM32_COMPILER_WORKAROUND} -post-configure: - printf '\nfloor1.lo:\n\t$$(LIBTOOL) --mode=compile $$(COMPILE) -O0 -c $$<\n\n' >> ${WRKSRC}/lib/Makefile -.endif +GCC_VERSION!=gcc --version +.if (${GCC_VERSION:C/-.*$$//} == egcs) +IGNORE= "gcc ${GCC_VERSION} cannot be used, as it generates bad ogg files" .endif .include "../../audio/libogg/buildlink.mk" -- cgit v1.2.3