Avoid egcs internal compiler error by using gcc-2.95.3 on arm32.
This commit is contained in:
parent
17e043cf4b
commit
4719ab3423
1 changed files with 7 additions and 1 deletions
|
@ -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
|
DISTNAME= RasMol_2.7.1
|
||||||
PKGNAME= rasmol-2.7.1
|
PKGNAME= rasmol-2.7.1
|
||||||
|
@ -14,6 +14,11 @@ USE_IMAKE= YES
|
||||||
|
|
||||||
MAKE_ENV+= DEPTHDEF="${DEPTHDEF}"
|
MAKE_ENV+= DEPTHDEF="${DEPTHDEF}"
|
||||||
|
|
||||||
|
.if (${MACHINE_ARCH} == arm32)
|
||||||
|
. include "../../lang/gcc/Makefile.gcc"
|
||||||
|
MAKE_FLAGS+= CC=${CC}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include "../../mk/bsd.prefs.mk"
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
.if defined(RASMOL_DEPTH)
|
.if defined(RASMOL_DEPTH)
|
||||||
|
@ -25,6 +30,7 @@ DEPTHDEF= -DSIXTEENBIT
|
||||||
.endif
|
.endif
|
||||||
DEPTHDEF?= -DEIGHTBIT
|
DEPTHDEF?= -DEIGHTBIT
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${LN} -sf ${WRKDIR}/${DISTNAME}/doc ${WRKSRC}
|
${LN} -sf ${WRKDIR}/${DISTNAME}/doc ${WRKSRC}
|
||||||
${LN} -sf ${WRKDIR}/${DISTNAME}/data ${WRKSRC}
|
${LN} -sf ${WRKDIR}/${DISTNAME}/data ${WRKSRC}
|
||||||
|
|
Loading…
Reference in a new issue