1977d149f7
Note to other porters who want their port to depend on this one: Use LIB_DEPENDS=db-4.2.2:${PORTSDIR}/databases/db42-nocrypto Usually, setting CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42" LDFLAGS="-L${LOCALBASE}/lib/db42" LIBS="-ldb-4.2" will then work to get the right DB library. At run time, the proper library will be looked up by its SONAME, which is "libdb-4.2.so.2" and resides in /usr/local/lib. PR: ports/60943 Submitted by: Matthias Andree <matthias.andree@gmx.de>
15 lines
837 B
Text
15 lines
837 B
Text
--- ../dist/configure.orig Wed Dec 5 13:14:02 2001
|
|
+++ ../dist/configure Wed Dec 5 13:24:01 2001
|
|
@@ -8794,10 +8794,10 @@
|
|
INSTALLER="\$(LIBTOOL) --mode=install cp"
|
|
|
|
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 ${DB_VERSION_MINOR}"
|
|
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 ${DB_VERSION_MINOR}"
|
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
|
|
|
# Configure for shared libraries, static libraries, or both. If both are
|