summaryrefslogtreecommitdiff
path: root/audio/libvorbis
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2001-12-30 08:00:45 +0000
committerlukem <lukem@pkgsrc.org>2001-12-30 08:00:45 +0000
commit5e0ba140a476dbed20bcbcb0dbbccb68561c4761 (patch)
treebd86a1e2a4ea67214ef78d1a78d64010507ab80f /audio/libvorbis
parente82e9283d0fa1531f547c5c164322b51af2462ff (diff)
downloadpkgsrc-5e0ba140a476dbed20bcbcb0dbbccb68561c4761.tar.gz
don't compile these packages if egcs is the compiler, as it generates
bad ogg files.
Diffstat (limited to 'audio/libvorbis')
-rw-r--r--audio/libvorbis/Makefile11
1 files changed, 4 insertions, 7 deletions
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"