ports/math/maxima/files/patch-configure.ac
Lorenzo Salvadore b04ee940dd
math/maxima: Many improvments
- Add a missing license (BSD3CLAUSE) and missing license files (for
  BSD3CLAUSE and GPLv2).
- Remove reference to a non existent patch that should have been applied
  when NOUSERINIT is OFF.
- Fix patching when SBCL is ON but NOUSERINIT is OFF (the port was
  building successfully, but then maxima failed to run).
- Fix patching of Makefile.am: $(DOC_DIR) and demo targets are removed
  in any case (the port deals with them manually through the DOCS,
  MANPAGES and EXAMPLES options). The tests target is only removed if
  the TEST option is OFF.
- Regenerate files/patch-configure.ac with 'make makepatch', as
  requested by portlint.
- Remove unneeded CONFIGURE_ARGS= PYTHON=dummy.
- Move symplectic_ode info file from pkg-plist to INFO variable, as
  requested by portlint.
- Remove CMUCL: cmucl is not supported upstream anymore on FreeBSD since
  2017.
- Set NO_ARCH=yes when LISP is CCL or SBCL (it does not apply when it is
  ECL).
- Do not install German and Russian manpages anymore.
- Strip binaries and libraries (applies when LISP is ECL, it is not
  needed in the other cases).
- Move post-install-ECL-on target (portclippy).

Reviewed by:	diizzy, thierry, tcberner
Approved by:	gerald (mentor)
Differential Revision:	https://reviews.freebsd.org/D35164
2022-05-29 22:28:51 +02:00

39 lines
1.9 KiB
Text

--- configure.ac.orig 2022-04-13 05:02:12 UTC
+++ configure.ac
@@ -165,21 +165,21 @@ dnl See if git exists. If it does, update VERSION to
dnl See if git exists. If it does, update VERSION to include a git tag
-AC_CHECK_PROG(git_found, git, true, false)
-if test x"${git_found}" = xtrue; then
- # Test to see if git describe works (discarding any output). If
- # it works, use it. Otherwise, keep existing value of VERSION.
- # (git describe fails if git is executed in a non-Git directory, e.g.,
- # an unpacked tarball. Since the exit codes of git describe are undocumented,
- # we cannot distinguish that from a missing annotated tag.
- # Play it safe by refusing to change VERSION.)
- if git describe > /dev/null 2>&1; then
- VERSION="`git describe --dirty`"
- # When building RPMs, hyphens in the version are not allowed, so
- # replace them with underscores.
- VERSION=`echo $VERSION | sed 's;-;_;g'`
- fi
-fi
+dnl AC_CHECK_PROG(git_found, git, true, false)
+dnl if test x"${git_found}" = xtrue; then
+dnl # Test to see if git describe works (discarding any output). If
+dnl # it works, use it. Otherwise, keep existing value of VERSION.
+dnl # (git describe fails if git is executed in a non-Git directory, e.g.,
+dnl # an unpacked tarball. Since the exit codes of git describe are undocumented,
+dnl # we cannot distinguish that from a missing annotated tag.
+dnl # Play it safe by refusing to change VERSION.)
+dnl if git describe > /dev/null 2>&1; then
+dnl VERSION="`git describe --dirty`"
+dnl # When building RPMs, hyphens in the version are not allowed, so
+dnl # replace them with underscores.
+dnl VERSION=`echo $VERSION | sed 's;-;_;g'`
+dnl fi
+dnl fi
dnl Parses the version number for the manual
manual_version=`echo $VERSION | sed 's+branch_++; s+_base++; s+_dirty++; s+_+.+g'`