profanity: Readd `==' vs `=' test(1) hunk and document patch-configure.ac
authorLeonardo Taccari <leot@NetBSD.org>
Sun, 8 Sep 2019 17:24:38 +0000 (19:24 +0200)
committerLeonardo Taccari <leot@NetBSD.org>
Sun, 8 Sep 2019 17:24:38 +0000 (19:24 +0200)
profanity/distinfo
profanity/patches/patch-configure.ac

index 63ba1909faebe2c20b8671e24e15f397aab12f57..4a859e9a4f9e87d6fc0bad631b5064e9ccd34b05 100644 (file)
@@ -4,4 +4,4 @@ SHA1 (profanity-0.7.0.tar.gz) = da71a8352a8a34db29f0fdbf6e11abe5ef55bbc3
 RMD160 (profanity-0.7.0.tar.gz) = b136b747aef0e7ac32f37565647d2b701d98318a
 SHA512 (profanity-0.7.0.tar.gz) = d4be02ad560f53ba59f6d814b6489fe8b7fe59a9c26e72867e23aa33d8badadfd518bc27a1f63266cb5f651f422a5de70f474ff551f5e97f5eab7b643f3a9106
 Size (profanity-0.7.0.tar.gz) = 789373 bytes
-SHA1 (patch-configure.ac) = 4d9d60f2a354cae7f9c817a6afdd4ba1027d9ec1
+SHA1 (patch-configure.ac) = 5bf25dd8a896c8fb4fe42c0c573539a15aac0cef
index cafe322f2188314d833776a5a6bf728248164ab5..a53418e525d9a45c8a13e6d301657d0c83625377 100644 (file)
@@ -1,7 +1,19 @@
 $NetBSD$
 
+- Use `=' operator for test(1)
+- Simplify check for readline
+
 --- configure.ac.orig  2019-07-31 08:53:34.000000000 +0000
 +++ configure.ac
+@@ -81,7 +81,7 @@ elif test "x$enable_python_plugins" != x
+         rm -f Python.framework
+         ln -s $PYTHON_FRAMEWORK Python.framework ])
+     AC_CHECK_PROG(PYTHON_CONFIG_EXISTS, python-config, yes, no)
+-    if test "$PYTHON_CONFIG_EXISTS" == "yes"; then
++    if test "$PYTHON_CONFIG_EXISTS" = "yes"; then
+         AX_PYTHON_DEVEL
+         AM_CONDITIONAL([BUILD_PYTHON_API], [true])
+         AC_DEFINE([HAVE_PYTHON], [1], [Python support])
 @@ -179,23 +179,8 @@ AS_IF([test "x$enable_icons" != xno],
              [AC_MSG_ERROR([gtk+-2.0 or higher is required for icons])],
              [AC_MSG_NOTICE([gtk+-2.0 not found, icons not enabled])])])])