[BACK]Return to patch-config-scripts_cups-libtool.m4 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / cups-base / patches

File: [cvs.NetBSD.org] / pkgsrc / print / cups-base / patches / Attic / patch-config-scripts_cups-libtool.m4 (download)

Revision 1.2, Tue May 26 08:36:56 2020 UTC (2 years, 8 months ago) by triaxx
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.1: +2 -2 lines

libcups: fix build failure on FreeBSD

pkgsrc changes:
---------------
  * Add conditional inclusion for FreeBSD.
  * Apply some changes to appease pkglint.
  * Bump revision.

$NetBSD: patch-config-scripts_cups-libtool.m4,v 1.2 2020/05/26 08:36:56 triaxx Exp $

Fix non-portable `==' test(1) operator.

--- config-scripts/cups-libtool.m4.orig	2017-10-13 18:22:26.000000000 +0000
+++ config-scripts/cups-libtool.m4
@@ -10,7 +10,7 @@ dnl
 AC_ARG_ENABLE(libtool_unsupported, [  --enable-libtool-unsupported=/path/to/libtool
                           build with libtool (UNSUPPORTED!)],
 	[if test x$enable_libtool_unsupported != xno; then
-		if test x$enable_libtool_unsupported == xyes; then
+		if test x$enable_libtool_unsupported = xyes; then
 			AC_MSG_ERROR([Use --enable-libtool-unsupported=/path/to/libtool.])
 		fi
 		LIBTOOL="$enable_libtool_unsupported"