summaryrefslogtreecommitdiff
path: root/databases/py-ldap/patches/patch-Makefile
blob: 78dcbf2c7c037618288c983c3ccddb2f8ec977e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile,v 1.1 2020/03/27 16:34:57 gutteridge Exp $

Fix non-portable test expression.

--- Makefile.orig	2018-07-30 16:05:13.000000000 +0000
+++ Makefile
@@ -74,7 +74,7 @@ valgrind: build $(PYTHON_SUPP)
 	    $(PYTHON) setup.py test
 
 	@grep -A7 "blocks are definitely lost" build/valgrind.log; \
-	if [ $$? == 0 ]; then \
+	if [ $$? = 0 ]; then \
 	    echo "Found definitive leak, see build/valgrind.log"; \
 	    exit 1; \
 	fi