pkgsrc-WIP-changes archive

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

profanity: fix unportable test(1) operator in configure script



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Jan 23 22:53:30 2017 +0100
Changeset:	f017c986883503ae5a456837b52e92a832045c43

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

Log Message:
profanity: fix unportable test(1) operator in configure script

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

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 ef91b14..6beca18 100644
--- a/profanity/distinfo
+++ b/profanity/distinfo
@@ -4,4 +4,4 @@ SHA1 (profanity-0.5.0.tar.gz) = 139215837907331290a03f3d764afe188a1fd65d
 RMD160 (profanity-0.5.0.tar.gz) = 1b30dcdaafbcc7ee5813c5047faf5d360aa2c72f
 SHA512 (profanity-0.5.0.tar.gz) = 65625f0ed0b1e87c6cd4ec9dc85076a971b899b9b39d5707d32d1977a450b910ff760e339bfacd0d0906740bd299c018877b6720071d92c805fca095631e7163
 Size (profanity-0.5.0.tar.gz) = 687169 bytes
-SHA1 (patch-configure.ac) = d5921da1fa9b2b04ad7a36e08ce6b0682df53f44
+SHA1 (patch-configure.ac) = b9d7dba8d676184e2834b7b9bacddf28b1899157
diff --git a/profanity/patches/patch-configure.ac b/profanity/patches/patch-configure.ac
index bcf712e..3bf0f5b 100644
--- a/profanity/patches/patch-configure.ac
+++ b/profanity/patches/patch-configure.ac
@@ -1,7 +1,19 @@
 $NetBSD$
 
+chunk 1: test(1) operator portability
+chunk 2: simplify check for readline
+
 --- configure.ac.orig	2016-09-14 20:52:04.000000000 +0000
 +++ configure.ac
+@@ -78,7 +78,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])
 @@ -172,15 +172,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