diff options
author | cjep <cjep> | 2002-05-20 15:53:59 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-05-20 15:53:59 +0000 |
commit | 396729b3887bcbe805d62abe974e5bf681f716d9 (patch) | |
tree | cee2359ffc59afe7ccecb4e8a09e1c6afbca7a8b /x11/xephem | |
parent | 7c769cb93dae5679e4b71880d19390108a025011 (diff) | |
download | pkgsrc-396729b3887bcbe805d62abe974e5bf681f716d9.tar.gz |
On arm32, use gcc-2.95.3 to avoid an internal egcs compiler error:
/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/caller-save.c:657:
Internal compiler error in function insert_save_restore
Diffstat (limited to 'x11/xephem')
-rw-r--r-- | x11/xephem/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xephem/Makefile b/x11/xephem/Makefile index 530a1f3a351..5aa33cf82d4 100644 --- a/x11/xephem/Makefile +++ b/x11/xephem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/01/19 11:39:43 drochner Exp $ +# $NetBSD: Makefile,v 1.13 2002/05/20 15:53:59 cjep Exp $ DISTNAME= xephem-3.5.2 CATEGORIES= x11 @@ -13,10 +13,16 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem LIBSRC1= ${WRKDIR}/${DISTNAME}/libastro LIBSRC2= ${WRKDIR}/${DISTNAME}/libip USE_PERL5= yes -USE_IMAKE= yes LICENSE= no-commercial-use +.if (${MACHINE_ARCH} == "arm32") +. include "../../lang/gcc/Makefile.gcc" +MAKE_FLAGS+= CC=${CC} +.endif + +USE_IMAKE= yes + pre-build: (cd ${LIBSRC1}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}) (cd ${LIBSRC2}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}) |