summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/octave-current/buildlink3.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/octave-current/buildlink3.mk b/math/octave-current/buildlink3.mk
new file mode 100644
index 00000000000..cc11cec3e37
--- /dev/null
+++ b/math/octave-current/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 00:58:34 dmcmahill Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+OCTAVE_CURRENT_BUILDLINK3_MK:= ${OCTAVE_CURRENT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= octave-current
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noctave-current}
+BUILDLINK_PACKAGES+= octave-current
+
+.if !empty(OCTAVE_CURRENT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.octave-current+= octave-current>=2.1.57
+BUILDLINK_PKGSRCDIR.octave-current?= ../../math/octave-current
+.endif # OCTAVE_CURRENT_BUILDLINK3_MK
+
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../math/blas/buildlink3.mk"
+.include "../../math/fftw2/buildlink3.mk"
+.include "../../math/lapack/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}