Ticket #2972: compat-version.patch

File compat-version.patch, 1.2 KB (added by daniel+dp@…, 20 years ago)

Make compatibility version more specific

  • Portfile

    diff -ruN openssl.orig/Portfile openssl/Portfile
    old new  
    33PortSystem 1.0
    44name                    openssl
    55version                 0.9.7g
     6revision                1
    67platforms               darwin freebsd
    78categories              devel security
    89maintainers             ssen@opendarwin.org
  • files/patch-Makefile.org

    diff -ruN openssl.orig/files/patch-Makefile.org openssl/files/patch-Makefile.org
    old new  
    55        fi; \
    66        ( set -x; ${CC} --verbose -dynamiclib -o lib$$i${SHLIB_EXT} \
    77-               lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \
     8-               -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \
    89+               lib$$i.a $$libs ${EX_LIBS} -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \
    9                 -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \
     10+               -compatibility_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \
    1011                -install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \
    1112        libs="-l`basename $$i${SHLIB_EXT} .dylib` $$libs"; \
    1213@@ -886,10 +886,7 @@