summaryrefslogtreecommitdiff
path: root/audio/libogg
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/libogg
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/libogg')
-rw-r--r--audio/libogg/Makefile7
1 files changed, 6 insertions, 1 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"