Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2020 09:28:49 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535536 - in head/net/librsync: . files
Message-ID:  <202005170928.04H9Sng9061269@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sun May 17 09:28:49 2020
New Revision: 535536
URL: https://svnweb.freebsd.org/changeset/ports/535536

Log:
  net/librsync: bring "make test" fix closer to original port
  
  Feedback https://github.com/librsync/librsync/issues/199 and
  second investigation shows that only the shebang line of said
  test file needs fixing.
  
  Approved by:	(blanket)

Added:
  head/net/librsync/files/patch-tests_rdiff__bad__option.sh   (contents, props changed)
Deleted:
  head/net/librsync/files/rdiff_bad_option.sh
Modified:
  head/net/librsync/Makefile

Modified: head/net/librsync/Makefile
==============================================================================
--- head/net/librsync/Makefile	Sun May 17 09:22:00 2020	(r535535)
+++ head/net/librsync/Makefile	Sun May 17 09:28:49 2020	(r535536)
@@ -13,7 +13,6 @@ LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpopt.so:devel/popt
-TEST_DEPENDS=	bash:shells/bash
 
 USES=		cmake compiler:c11 localbase:ldflags
 
@@ -24,9 +23,5 @@ USE_LDCONFIG=	yes
 TEST_TARGET=	check
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
-
-pre-test:
-	${CP} ${FILESDIR}/rdiff_bad_option.sh ${WRKSRC}/tests/
-	${CHMOD} +x ${WRKSRC}/tests/rdiff_bad_option.sh
 
 .include <bsd.port.mk>

Added: head/net/librsync/files/patch-tests_rdiff__bad__option.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/librsync/files/patch-tests_rdiff__bad__option.sh	Sun May 17 09:28:49 2020	(r535536)
@@ -0,0 +1,5 @@
+--- tests/rdiff_bad_option.sh.orig	2020-04-07 06:57:48 UTC
++++ tests/rdiff_bad_option.sh
+@@ -1,1 +1,1 @@
+-#! /bin/bash -ex
++#! /bin/sh -ex



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