Author: Daniel Baumann Description: Adding compatibility for current kernel versions to fix FTBFS. diff -Naurp postfix.orig/makedefs postfix/makedefs --- postfix.orig/makedefs +++ postfix/makedefs @@ -557,7 +557,11 @@ EOF : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${PLUGIN_LD="${CC-gcc} -shared"} ;; - Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR + Linux.[34567].*) + case "$SYSTEM.$RELEASE" in + Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR ;; + Linux.[67].*) SYSTYPE=LINUX5 ;; + esac case "$CCARGS" in *-DNO_DB*) ;; *-DHAS_DB*) ;;