Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2015 17:02:43 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387973 - head/devel/tcl-trf
Message-ID:  <201505301702.t4UH2hnc003032@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Sat May 30 17:02:42 2015
New Revision: 387973
URL: https://svnweb.freebsd.org/changeset/ports/387973

Log:
  Do not automatically run tests post-build.
  
  Remove dependency on memchan -- the package is only needed for testing. This
  will avoid the tcllib->critcil->tcl-trf->tcl-memchan->tcllib circular dependency
  discussed in
  
  PR:		200498

Modified:
  head/devel/tcl-trf/Makefile

Modified: head/devel/tcl-trf/Makefile
==============================================================================
--- head/devel/tcl-trf/Makefile	Sat May 30 16:46:29 2015	(r387972)
+++ head/devel/tcl-trf/Makefile	Sat May 30 17:02:42 2015	(r387973)
@@ -12,8 +12,6 @@ DISTNAME=	trf${PORTVERSION}
 MAINTAINER=	mi@aldan.algebra.com
 COMMENT=	Data conversion, digests, compression, error-correction for Tcl
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/Memchan2.3/pkgIndex.tcl:${PORTSDIR}/devel/tcl-memchan
-
 ALL_TARGET=	all
 
 USES+=		tcl tar:bzip2
@@ -60,7 +58,12 @@ do-install:
 		${INSTALL_MAN} $$m ${STAGEDIR}${MANNPREFIX}/man/mann/ ;\
 	done
 
-check regression-test post-build test:
+check regression-test test:
+	@if ! ${PKG_BIN} info --quiet tcl-memchan; then	\
+		${PRINTF} "*****************\n%s\n*****************\n"	\
+		    "devel/tcl-memchan must be installed for the tests to work";	\
+		exit 1;	\
+	fi
 	cd ${WRKSRC}/tests && ${SETENV} TCLLIBPATH="${WRKSRC}" ${TCLSH} all
 
 .include <bsd.port.pre.mk>



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