diff options
author | lukem <lukem@pkgsrc.org> | 2001-12-30 08:00:45 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2001-12-30 08:00:45 +0000 |
commit | 5e0ba140a476dbed20bcbcb0dbbccb68561c4761 (patch) | |
tree | bd86a1e2a4ea67214ef78d1a78d64010507ab80f | |
parent | e82e9283d0fa1531f547c5c164322b51af2462ff (diff) | |
download | pkgsrc-5e0ba140a476dbed20bcbcb0dbbccb68561c4761.tar.gz |
don't compile these packages if egcs is the compiler, as it generates
bad ogg files.
-rw-r--r-- | audio/libogg/Makefile | 7 | ||||
-rw-r--r-- | audio/libvorbis/Makefile | 11 |
2 files changed, 10 insertions, 8 deletions
diff --git a/audio/libogg/Makefile b/audio/libogg/Makefile index 3cb7d16e75b..74f67ba2099 100644 --- a/audio/libogg/Makefile +++ b/audio/libogg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/08/14 14:46:30 lukem Exp $ +# $NetBSD: Makefile,v 1.7 2001/12/30 08:00:45 lukem Exp $ DISTNAME= libogg-1.0rc2 PKGNAME= libogg-1.0.0.6 @@ -16,4 +16,9 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig PLIST_SUBST+= DISTNAME=${DISTNAME} +GCC_VERSION!=gcc --version +.if (${GCC_VERSION:C/-.*$$//} == egcs) +IGNORE= "gcc ${GCC_VERSION} cannot be used, as it generates bad ogg files" +.endif + .include "../../mk/bsd.pkg.mk" 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" |