ports/databases/db5/files/patch-dist_configure
Matthias Andree e44111f491 Modernize Makefile and chase new requisites.
* Modernize Makefile [1].

* The Tcl changes suggested in the PR [1] are applied but commented out
  because the code causes scary "warning: the value of the size argument
  in 'strncat' is too large, might lead to a buffer overflow
  [-Wstrncat-size]" in lang/tcl/tcl_*.c on FreeBSD 10.3 amd64.

* Other than what is suggested in the PR,
  refuse to add the TCL option, and leave --disable-tcl in.

* JAVA option: restrict to Java versions 1.6 and 1.7 because the port
  fails to compile with JAVA option enabled and openjdk8
  (IllegalArgument exception).

portlint cleanups:
* Set PATCH_WRKSRC, and refresh patches with "make makepatch".
* Use Space (not HTab) after WWW: tag in pkg-descr
* Drop "The" from COMMENT.

PR:		208740 [1]
Submitted by:	gahr@ [1]
2016-05-23 22:07:24 +00:00

15 lines
729 B
Text

--- dist/configure.orig 2013-09-09 15:35:02 UTC
+++ dist/configure
@@ -17712,10 +17712,10 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -version-info 0:0:0"
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
-MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
+MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -version-info 0:0:0"
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"