summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-05-20 15:53:59 +0000
committercjep <cjep@pkgsrc.org>2002-05-20 15:53:59 +0000
commit0e53473f707de4bfb3e1ae5a8a222b879b632eb7 (patch)
treecee2359ffc59afe7ccecb4e8a09e1c6afbca7a8b /x11
parent571df9c4aae63858dc3cafaa94266a29d2106230 (diff)
downloadpkgsrc-0e53473f707de4bfb3e1ae5a8a222b879b632eb7.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')
-rw-r--r--x11/xephem/Makefile10
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})