svn commit: r387973 - head/devel/tcl-trf

Mikhail Teterin mi at FreeBSD.org
Sat May 30 17:02:43 UTC 2015


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 at 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>


More information about the svn-ports-head mailing list