pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

profanity: Readd `==' vs `=' test(1) hunk and document patch-configure.ac



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Sep 8 19:24:38 2019 +0200
Changeset:	6df0074144c57b9e09e0a4ac0cdfd367496532a9

Modified Files:
	profanity/distinfo
	profanity/patches/patch-configure.ac

Log Message:
profanity: Readd `==' vs `=' test(1) hunk and document patch-configure.ac

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6df0074144c57b9e09e0a4ac0cdfd367496532a9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 profanity/distinfo                   |  2 +-
 profanity/patches/patch-configure.ac | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diffs:
diff --git a/profanity/distinfo b/profanity/distinfo
index 63ba1909fa..4a859e9a4f 100644
--- a/profanity/distinfo
+++ b/profanity/distinfo
@@ -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
diff --git a/profanity/patches/patch-configure.ac b/profanity/patches/patch-configure.ac
index cafe322f21..a53418e525 100644
--- a/profanity/patches/patch-configure.ac
+++ b/profanity/patches/patch-configure.ac
@@ -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])])])])


Home | Main Index | Thread Index | Old Index