diff options
author | cjep <cjep@pkgsrc.org> | 2002-04-20 14:41:05 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-04-20 14:41:05 +0000 |
commit | 4719ab3423349e745f9313d47b779ca371e02864 (patch) | |
tree | fc1089ac67baeba59c21961bc7c9c67adf031510 /biology/rasmol/Makefile | |
parent | 17e043cf4bf9f53b0baa91294689d7c81908b2f1 (diff) | |
download | pkgsrc-4719ab3423349e745f9313d47b779ca371e02864.tar.gz |
Avoid egcs internal compiler error by using gcc-2.95.3 on arm32.
Diffstat (limited to 'biology/rasmol/Makefile')
-rw-r--r-- | biology/rasmol/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/biology/rasmol/Makefile b/biology/rasmol/Makefile index d7db3c9439d..2b461c81ded 100644 --- a/biology/rasmol/Makefile +++ b/biology/rasmol/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/01 11:06:30 zuntum Exp $ +# $NetBSD: Makefile,v 1.5 2002/04/20 14:41:05 cjep Exp $ DISTNAME= RasMol_2.7.1 PKGNAME= rasmol-2.7.1 @@ -14,6 +14,11 @@ USE_IMAKE= YES MAKE_ENV+= DEPTHDEF="${DEPTHDEF}" +.if (${MACHINE_ARCH} == arm32) +. include "../../lang/gcc/Makefile.gcc" +MAKE_FLAGS+= CC=${CC} +.endif + .include "../../mk/bsd.prefs.mk" .if defined(RASMOL_DEPTH) @@ -25,6 +30,7 @@ DEPTHDEF= -DSIXTEENBIT .endif DEPTHDEF?= -DEIGHTBIT + post-patch: ${LN} -sf ${WRKDIR}/${DISTNAME}/doc ${WRKSRC} ${LN} -sf ${WRKDIR}/${DISTNAME}/data ${WRKSRC} |