diff options
author | cjep <cjep@pkgsrc.org> | 2002-03-25 14:45:05 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-03-25 14:45:05 +0000 |
commit | 30e8a9e8794c52ede708e5352d6cb391ca3b9ee2 (patch) | |
tree | 493989501aab4ad4cfc06c323c228954ac01608c | |
parent | cf0e9086ab81f78eff9359193ee592a23ff8b05d (diff) | |
download | pkgsrc-30e8a9e8794c52ede708e5352d6cb391ca3b9ee2.tar.gz |
On arm32, pull in gcc-2.95.3 (to avoid egcs internal compiler error --
after a discussion with abs (the commit,
not the compiler error :-)).
-rw-r--r-- | graphics/aalib/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile index 7d16ecc56bd..d8da098cd84 100644 --- a/graphics/aalib/Makefile +++ b/graphics/aalib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/02/18 15:14:20 seb Exp $ +# $NetBSD: Makefile,v 1.6 2002/03/25 14:45:05 cjep Exp $ # DISTNAME= aalib-1.4rc4 @@ -20,5 +20,14 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CONFIGURE_ARGS+= --with-x11-driver=no +.if (${MACHINE_ARCH} == arm32) + GCC_VERSION!= gcc --version + +. if (${GCC_VERSION:C/-.*$$//} == egcs) +. include "../../lang/gcc/Makefile.gcc" +. endif + +.endif + .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" |