Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2019 03:58:25 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517030 - head/devel/patch
Message-ID:  <201911080358.xA83wPml029170@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Nov  8 03:58:25 2019
New Revision: 517030
URL: https://svnweb.freebsd.org/changeset/ports/517030

Log:
  Enable tests again, but do not set SHELL to bash(1) globally which breaks
  package installation; changing just LOG_COMPILER is enough and much safer.

Modified:
  head/devel/patch/Makefile

Modified: head/devel/patch/Makefile
==============================================================================
--- head/devel/patch/Makefile	Fri Nov  8 03:54:11 2019	(r517029)
+++ head/devel/patch/Makefile	Fri Nov  8 03:58:25 2019	(r517030)
@@ -25,12 +25,12 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=g
 CPE_VENDOR=	gnu
 
-#TEST_TARGET=	check
+TEST_TARGET=	check
 
 PLIST_FILES=	bin/gpatch man/man1/gpatch.1.gz
 
 post-patch:
-	@${REINPLACE_CMD} -e '/^_SHELL =/s,@SHELL@,bash,' \
+	@${REINPLACE_CMD} -e '/^LOG_COMPILER =/,+1s|$$(SHELL)|bash|' \
 		${WRKSRC}/tests/Makefile.in
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911080358.xA83wPml029170>