summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-03-17 22:41:09 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-03-17 22:41:09 +0000
commit132b89e8cc70bebf9ba008424d324cc66f3c81a0 (patch)
tree1b136a10936e0e0c29d4dfb27665925398f96219 /math
parenteaca63f4a73a78fd541bd87be690c69bce6bc32e (diff)
downloadpkgsrc-132b89e8cc70bebf9ba008424d324cc66f3c81a0.tar.gz
rework the pre-fetch check on alpha to unsure ${WRKDIR}/.pkgdb gets created
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 6080d409fe5..4f4e315bd84 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2005/01/12 15:32:01 jlam Exp $
+# $NetBSD: Makefile,v 1.60 2005/03/17 22:41:09 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}.src
@@ -52,9 +52,8 @@ BUILDLINK_DEPMETHOD.sablotron= build
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "alpha")
-pre-fetch:
+pre-fetch: ${WRKDIR}
@${ECHO} "===> Checking if you have working FPC"
- @${MKDIR} ${WRKDIR}
${CC} ${CFLAGS} -o ${WRKDIR}/chk_ieee ${FILESDIR}/chk_ieee.c
@cd ${WRKDIR} && if ./chk_ieee ; then ${ECHO} "yes" ; else \
${ECHO} "no" ; \