diff options
author | dmcmahill <dmcmahill> | 2002-03-31 13:32:22 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-03-31 13:32:22 +0000 |
commit | 602af3a96803c03a0da4e01cff30cd6e9ba1985e (patch) | |
tree | c9824f5312789c04f5a4fadcf33fbf7df5daedc5 /audio | |
parent | 9c9060d2f57f55fd0f2e319e99de05bf497ecdf3 (diff) | |
download | pkgsrc-602af3a96803c03a0da4e01cff30cd6e9ba1985e.tar.gz |
depend on the gcc package on systems with old toolchain. This lets this
package work on several platforms which formerly failed due to a c++
compiler bug.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cheesetracker/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile index 814281ad912..f3e6bc369cb 100644 --- a/audio/cheesetracker/Makefile +++ b/audio/cheesetracker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2002/02/11 17:18:12 jmc Exp $ +# $NetBSD: Makefile,v 1.5 2002/03/31 13:32:22 dmcmahill Exp $ # DISTNAME= cheesetracker-0.2.2 @@ -11,9 +11,11 @@ COMMENT= impulse tracker clone DEPENDS+= gtk-->=1.2:../../x11/gtk-- -# Compiler bugs -NOT_FOR_PLATFORM= NetBSD-*-macppc NetBSD-*-powerpc NetBSD-*-prep \ - NetBSD-*-bebox NetBSD-*-amigappc NetBSD-*-sandpoint +GCC_VERSION!= gcc --version +.if (${GCC_VERSION:C/-.*$$//} == egcs) +# "egcs" cannot be used, as this package tickles c++ compiler bugs +.include "../../lang/gcc/Makefile.gcc" +.endif GNU_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS="-O -Dusleep=pth_usleep -Dwrite=__pthread_write" |