diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-05-21 16:29:31 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-05-21 16:29:31 +0000 |
commit | 0a0a6652eddd2420c12e2aa343cf8a60018e4383 (patch) | |
tree | 8695a4ad97fbc51a43c79e94fb7bfc14fa4eddf8 /math | |
parent | 4ae3f20bd559854fcb61516769d7ce73127651dd (diff) | |
download | pkgsrc-0a0a6652eddd2420c12e2aa343cf8a60018e4383.tar.gz |
Include devel/hdf5/buildlink3.mk if octave is built with hdf5.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-current/buildlink3.mk | 8 | ||||
-rw-r--r-- | math/octave/buildlink3.mk | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/math/octave-current/buildlink3.mk b/math/octave-current/buildlink3.mk index af0ded40754..61c0faa4857 100644 --- a/math/octave-current/buildlink3.mk +++ b/math/octave-current/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2005/01/29 22:33:47 dmcmahill Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2005/05/21 16:29:31 kristerw Exp $ # BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ @@ -17,6 +17,12 @@ BUILDLINK_RECOMMENDED.octave-current+= octave-current>=2.1.59nb1 BUILDLINK_PKGSRCDIR.octave-current?= ../../math/octave-current .endif # OCTAVE_CURRENT_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" 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" |