diff options
Diffstat (limited to 'math/octave-current/octave.mk')
-rw-r--r-- | math/octave-current/octave.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/octave-current/octave.mk b/math/octave-current/octave.mk index 2e623babc5f..449af13f75c 100644 --- a/math/octave-current/octave.mk +++ b/math/octave-current/octave.mk @@ -1,4 +1,4 @@ -# $NetBSD: octave.mk,v 1.4 2005/12/05 20:50:37 rillig Exp $ +# $NetBSD: octave.mk,v 1.5 2006/01/06 22:41:48 adam Exp $ .include "../../mk/bsd.prefs.mk" @@ -11,9 +11,9 @@ OCTAVE_VARS?= LOCALVERFCNFILEDIR LOCALVEROCTFILEDIR LOCALVERARCHLIBDIR VERSION # Set OCT_<var> to the value of <var> as returned by octave-config. .if !empty(PHASES_AFTER_EXTRACT:M${PKG_PHASE}) . if exists(${OCTAVE_CONFIG}) -. for _var_ in ${OCTAVE_VARS} -. if !defined(OCT_${_var_}) -OCT_${_var_}!= ${OCTAVE_CONFIG} -p ${_var_} +. for var in ${OCTAVE_VARS} +. if !defined(OCT_${var}) +OCT_${var}!= ${OCTAVE_CONFIG} -p ${var} . endif . endfor . endif |