summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-10-26 04:09:37 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-10-26 04:09:37 +0000
commitfd788df66acb52fd6f0cd5fea6bb89f8381167e2 (patch)
treefa70f761d708e2f9b276a8105dc698c7493d0a49 /math/scilab
parentdcfb40ead28f3d6b415a9600c2f621015fae6768 (diff)
downloadpkgsrc-fd788df66acb52fd6f0cd5fea6bb89f8381167e2.tar.gz
- update some buildlink variables which were missed during the last
scilab update. Add a note in the Makefile to prevent this in the future. - add Version.incl to the buildlink files. That is needed to allow add ons to determine the scilab version. Currently no pkgs are using this, but that will change soon.
Diffstat (limited to 'math/scilab')
-rw-r--r--math/scilab/Makefile4
-rw-r--r--math/scilab/buildlink3.mk8
2 files changed, 8 insertions, 4 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index da3b260e704..5f2269378ec 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2005/09/09 18:30:01 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.66 2005/10/26 04:09:37 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}-src
@@ -11,6 +11,8 @@ HOMEPAGE= http://www.scilab.org/
COMMENT= High-level scientific math programming environment with graphics
SCIBASE= scilab-3.1.1
+# don't forget to update SCI and SCIVERSION in the buildlink3.mk file when
+# SCIBASE is updated.
WRKSRC= ${WRKDIR}/${SCIBASE}
#needs FPC code not found in older versions of NetBSD
diff --git a/math/scilab/buildlink3.mk b/math/scilab/buildlink3.mk
index 09518a11e0b..7beaa3d01ef 100644
--- a/math/scilab/buildlink3.mk
+++ b/math/scilab/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 00:51:10 dmcmahill Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2005/10/26 04:09:37 dmcmahill Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -14,6 +14,8 @@ BUILDLINK_PACKAGES+= scilab
.if !empty(SCILAB_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.scilab+= scilab>=3.0
BUILDLINK_PKGSRCDIR.scilab?= ../../math/scilab
+
+BUILDLINK_FILES.scilab+= lib/scilab-${SCIVERSION}/Version.incl
.endif # SCILAB_BUILDLINK3_MK
# do I really need these?
@@ -21,10 +23,10 @@ BUILDLINK_PKGSRCDIR.scilab?= ../../math/scilab
.include "../../textproc/sablotron/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
-SCI= ${BUILDLINK_DIR}/lib/scilab-3.0
+SCI= ${BUILDLINK_DIR}/lib/scilab-3.1.1
CONFIGURE_ENV+= SCI=${SCI}
MAKE_ENV+= SCI=${SCI}
-SCIVERSION= 3.0
+SCIVERSION= 3.1.1
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}