diff options
author | kristerw <kristerw> | 2005-05-21 16:29:31 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2005-05-21 16:29:31 +0000 |
commit | 9277a6443559bb618a84c17905524d0d0cb7026c (patch) | |
tree | 8695a4ad97fbc51a43c79e94fb7bfc14fa4eddf8 /math/octave | |
parent | 22e2ab1dd1b8843be8da702aa91b7cd3e4b91dd2 (diff) | |
download | pkgsrc-9277a6443559bb618a84c17905524d0d0cb7026c.tar.gz |
Include devel/hdf5/buildlink3.mk if octave is built with hdf5.
Diffstat (limited to 'math/octave')
-rw-r--r-- | math/octave/buildlink3.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/math/octave/buildlink3.mk b/math/octave/buildlink3.mk index b128ee0e23d..a6efee0cbbe 100644 --- a/math/octave/buildlink3.mk +++ b/math/octave/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2005/04/01 10:25:16 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2005/05/21 16:29:31 kristerw Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OCTAVE_BUILDLINK3_MK:= ${OCTAVE_BUILDLINK3_MK}+ @@ -15,6 +15,12 @@ BUILDLINK_DEPENDS.octave+= octave>=2.1.69 BUILDLINK_PKGSRCDIR.octave?= ../../math/octave .endif # OCTAVE_BUILDLINK3_MK +.include "../../mk/bsd.prefs.mk" + +.if !defined(PKG_OPTIONS.octave:) || !empty(PKG_OPTIONS.octave:Mhdf5) +.include "../../devel/hdf5/buildlink3.mk" +.endif + .include "../../audio/libsndfile/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../devel/ncurses/buildlink3.mk" |