summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorcjep <cjep>2002-04-20 14:41:05 +0000
committercjep <cjep>2002-04-20 14:41:05 +0000
commit7ba258218a9ff9eb905959c2e3eb45b8ec6a5b16 (patch)
treefc1089ac67baeba59c21961bc7c9c67adf031510 /biology
parent65dfebc6664bdd5ec7731c533d7ce76800c489ef (diff)
downloadpkgsrc-7ba258218a9ff9eb905959c2e3eb45b8ec6a5b16.tar.gz
Avoid egcs internal compiler error by using gcc-2.95.3 on arm32.
Diffstat (limited to 'biology')
-rw-r--r--biology/rasmol/Makefile8
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}