pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/scilab - update some buildlink variables which we...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b86d226b4a6b
branches:  trunk
changeset: 501683:b86d226b4a6b
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Wed Oct 26 04:09:37 2005 +0000

description:
- 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:

 math/scilab/Makefile      |  4 +++-
 math/scilab/buildlink3.mk |  8 +++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (49 lines):

diff -r 2a740e2d2842 -r b86d226b4a6b math/scilab/Makefile
--- a/math/scilab/Makefile      Wed Oct 26 03:45:47 2005 +0000
+++ b/math/scilab/Makefile      Wed Oct 26 04:09:37 2005 +0000
@@ -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 @@
 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 -r 2a740e2d2842 -r b86d226b4a6b math/scilab/buildlink3.mk
--- a/math/scilab/buildlink3.mk Wed Oct 26 03:45:47 2005 +0000
+++ b/math/scilab/buildlink3.mk Wed Oct 26 04:09:37 2005 +0000
@@ -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 @@
 .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 @@
 .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/+$//}



Home | Main Index | Thread Index | Old Index