mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
math/maxima: build fix (mandir, makeinfo)
Remove create unneeded and unsupported PREFIX/man/man1 directory (causes Error: Orphaned: @dir man/man1). Fix makeinfo version checking error in configure: - replace backtick to brackets and dollar sign - use gexpr instead of builtin expr (add sysutils/coreutils to BULD_DEPENDS and use BINARY_ALIAS) The makeinfo_version_string variable is empty because the backslashes remain before backticks, do not appear. And the regexp is not compatible with shipped expr so shoud use GNU expr.
This commit is contained in:
parent
05759ff904
commit
ee2ef7f8ef
@ -17,6 +17,7 @@ LICENSE_FILE_MAXIMAEXTRACLAUSE= ${FILESDIR}/license-extra-clause.txt
|
||||
LICENSE_PERMS_MAXIMAEXTRACLAUSE= dist-mirror dist-sell pkg-mirror \
|
||||
pkg-sell auto-accept
|
||||
|
||||
BUILD_DEPENDS= coreutils>0:sysutils/coreutils
|
||||
RUN_DEPENDS= gnuplot:math/gnuplot \
|
||||
rlwrap:devel/rlwrap
|
||||
|
||||
@ -26,6 +27,8 @@ GNU_CONFIGURE= yes
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
BINARY_ALIAS= expr=gexpr
|
||||
|
||||
INFO= imaxima maxima xmaxima abs_integrate drawutils kovacicODE logic \
|
||||
nelder_mead symplectic_ode
|
||||
|
||||
@ -134,7 +137,6 @@ post-install-EXAMPLES-on:
|
||||
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} '-name *\.dem'
|
||||
|
||||
post-install-MANPAGES-on:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1 && \
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/maxima.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/maxima.1.gz
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- configure.ac.orig 2022-04-13 05:02:12 UTC
|
||||
--- configure.ac.orig 2024-09-01 19:17:42 UTC
|
||||
+++ configure.ac
|
||||
@@ -165,21 +165,21 @@ dnl See if git exists. If it does, update VERSION to
|
||||
|
||||
@ -37,3 +37,12 @@
|
||||
|
||||
dnl Parses the version number for the manual
|
||||
manual_version=`echo $VERSION | sed 's+branch_++; s+_base++; s+_dirty++; s+_+.+g'`
|
||||
@@ -644,7 +644,7 @@ if test x"${enable_build_docs}" = xtrue ; then
|
||||
dnl assuming that the end of the version string contains the
|
||||
dnl version number consisting of digits separated by a period.
|
||||
dnl This allows for version numbers like 6.8.90.
|
||||
- makeinfo_version_string=`expr "\`makeinfo --version | head -1\`" : '.* \([[.0-9]]\+\)'`
|
||||
+ makeinfo_version_string=`expr "$(makeinfo --version | head -1)" : '.* \([[.0-9]]\+\)'`
|
||||
dnl echo Makeinfo version ${makeinfo_version}
|
||||
|
||||
dnl From makeinfo_version, extract out the major and minor
|
||||
|
Loading…
Reference in New Issue
Block a user