pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/scilab rework the pre-fetch check on alpha to uns...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ed189e5d563
branches:  trunk
changeset: 490686:4ed189e5d563
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Thu Mar 17 22:41:09 2005 +0000

description:
rework the pre-fetch check on alpha to unsure ${WRKDIR}/.pkgdb gets created

diffstat:

 math/scilab/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r a5c3bba0d376 -r 4ed189e5d563 math/scilab/Makefile
--- a/math/scilab/Makefile      Thu Mar 17 22:35:48 2005 +0000
+++ b/math/scilab/Makefile      Thu Mar 17 22:41:09 2005 +0000
@@ -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 @@
 .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" ; \



Home | Main Index | Thread Index | Old Index