From owner-svn-ports-head@freebsd.org Sat Feb 4 03:32:14 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CCCBCCC7B4; Sat, 4 Feb 2017 03:32:14 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F17E1D03; Sat, 4 Feb 2017 03:32:14 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v143WDRX045205; Sat, 4 Feb 2017 03:32:13 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v143WDaL045204; Sat, 4 Feb 2017 03:32:13 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201702040332.v143WDaL045204@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Sat, 4 Feb 2017 03:32:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433277 - head/devel/mtbl/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 03:32:14 -0000 Author: truckman Date: Sat Feb 4 03:32:13 2017 New Revision: 433277 URL: https://svnweb.freebsd.org/changeset/ports/433277 Log: Neuter liblz4 version check in configure to unbreak build after liblz4 upstream changed versioning from r131 to v1.7.5. Reported by: pkg-fallout Sponsored by: Farsight Security, Inc. Added: head/devel/mtbl/files/ head/devel/mtbl/files/patch-configure (contents, props changed) Added: head/devel/mtbl/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mtbl/files/patch-configure Sat Feb 4 03:32:13 2017 (r433277) @@ -0,0 +1,52 @@ +--- configure.orig 2015-08-28 22:16:34 UTC ++++ configure +@@ -12269,12 +12269,12 @@ if test -n "$liblz4_CFLAGS"; then + pkg_cv_liblz4_CFLAGS="$liblz4_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4 > 129\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "liblz4 > 129") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4 > 0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblz4 > 0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_liblz4_CFLAGS=`$PKG_CONFIG --cflags "liblz4 > 129" 2>/dev/null` ++ pkg_cv_liblz4_CFLAGS=`$PKG_CONFIG --cflags "liblz4 > 0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -12286,12 +12286,12 @@ if test -n "$liblz4_LIBS"; then + pkg_cv_liblz4_LIBS="$liblz4_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4 > 129\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "liblz4 > 129") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4 > 0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblz4 > 0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_liblz4_LIBS=`$PKG_CONFIG --libs "liblz4 > 129" 2>/dev/null` ++ pkg_cv_liblz4_LIBS=`$PKG_CONFIG --libs "liblz4 > 0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -12312,14 +12312,14 @@ else + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- liblz4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblz4 > 129" 2>&1` ++ liblz4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblz4 > 0" 2>&1` + else +- liblz4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblz4 > 129" 2>&1` ++ liblz4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblz4 > 0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$liblz4_PKG_ERRORS" >&5 + +- as_fn_error $? "Package requirements (liblz4 > 129) were not met: ++ as_fn_error $? "Package requirements (liblz4 > 0) were not met: + + $liblz4_PKG_ERRORS +