summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-12-19 04:37:23 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-12-19 04:37:23 +0000
commit7e14d158fce42da8df8142869d825c6ba05ccd3d (patch)
tree5f4dfcfb8dc80920409df5d30578cc1cc1682cbd /math
parentd7019ffd23377da3b6113ef51b333d74e11d4841 (diff)
downloadpkgsrc-7e14d158fce42da8df8142869d825c6ba05ccd3d.tar.gz
Make sure that the link to libtool in the scilab installation directory
points to the installed libtool instead of to the buildlink2 directory. Should fix PR23759.
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index f789f595c06..b49a7c79394 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.43 2003/09/17 19:40:48 grant Exp $
+# $NetBSD: Makefile,v 1.44 2003/12/19 04:37:23 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}.src
PKGNAME= ${SCIBASE}
-PKGREVISION= 2
+PKGREVISION= 3
WRKSRC= ${WRKDIR}/${SCIBASE}
CATEGORIES= math
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
@@ -71,9 +71,12 @@ post-extract:
.endfor
# delete some .orig files that got created by patching
+# also fix the libtool link
post-install:
${RM} -f ${PREFIX}/lib/${SCIBASE}/config/Makeso.incl.in.orig
${RM} -f ${PREFIX}/lib/${SCIBASE}/macros/util/scipad.sci.orig
+ ${RM} -f ${PREFIX}/lib/${SCIBASE}/libtool
+ ${LN} -s ${LIBTOOL} ${PREFIX}/lib/${SCIBASE}/libtool
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
USE_PKGSRC_GCC= # defined