summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-10-14 20:17:24 +0000
committerwiz <wiz@pkgsrc.org>2015-10-14 20:17:24 +0000
commit290b47c25a999a52f9ed37d876514732ed4b57d7 (patch)
treeb62ce193139a28ca45bd0bf8ee8790b2683f16db /math
parent118e6b2bd6bde9db2382b4d4ef63bb866b781b22 (diff)
downloadpkgsrc-290b47c25a999a52f9ed37d876514732ed4b57d7.tar.gz
Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that. Bump their PKGREVISIONs.
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile6
-rw-r--r--math/snns/Makefile12
2 files changed, 13 insertions, 5 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 2e0c5f0d916..d3096c4fb40 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.98 2015/08/07 11:20:34 jaapb Exp $
+# $NetBSD: Makefile,v 1.99 2015/10/14 20:17:27 wiz Exp $
#
DISTNAME= ${SCIBASE}-src
-PKGREVISION= 16
+PKGREVISION= 17
PKGNAME= ${SCIBASE}
CATEGORIES= math
MASTER_SITES= http://www.scilab.org/download/4.1/
@@ -149,5 +149,5 @@ CONFIGURE_ARGS+= --without-ocaml
.include "../../parallel/pvm3/buildlink3.mk"
.include "../../textproc/sablotron/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
-.include "../../x11/Xaw3d/buildlink3.mk"
+.include "../../x11/libXaw3d/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/snns/Makefile b/math/snns/Makefile
index 6fe9b60f7ae..c9b1dcb7495 100644
--- a/math/snns/Makefile
+++ b/math/snns/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2012/09/13 21:43:08 asau Exp $
+# $NetBSD: Makefile,v 1.25 2015/10/14 20:17:27 wiz Exp $
DISTNAME= SNNSv4.3
PKGNAME= snns-4.3
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/
@@ -21,6 +22,13 @@ INSTALL_TARGET= install install-man
INSTALL_MAKE_FLAGS+= INSTALLDIR=${DESTDIR}${PREFIX} \
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+# does not directly support Xaw3d
+.PHONY: buildlink-Xaw3d-inc-hack
+pre-configure: buildlink-Xaw3d-inc-hack
+
+buildlink-Xaw3d-inc-hack: buildlink-directories
+ cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
+
post-install:
${INSTALL_DATA} ${WRKSRC}/help.hdoc ${DESTDIR}${XGUILOADPATH}
${INSTALL_DATA} ${WRKSRC}/default.cfg ${DESTDIR}${XGUILOADPATH}
@@ -33,7 +41,7 @@ post-install:
${DESTDIR}${PREFIX}/share/examples/snns; \
done
-.include "../../x11/Xaw3d/buildlink3.mk"
+.include "../../x11/libXaw3d/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"