Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 08:33:19 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465267 - head/science/cgnslib
Message-ID:  <201803220833.w2M8XJ6f036263@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Mar 22 08:33:19 2018
New Revision: 465267
URL: https://svnweb.freebsd.org/changeset/ports/465267

Log:
  - Add missing depend on libX11
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/science/cgnslib/Makefile

Modified: head/science/cgnslib/Makefile
==============================================================================
--- head/science/cgnslib/Makefile	Thu Mar 22 08:26:45 2018	(r465266)
+++ head/science/cgnslib/Makefile	Thu Mar 22 08:33:19 2018	(r465267)
@@ -52,7 +52,7 @@ TESTSBIN=	cgwrite cgread test_partial
 .if ${PORT_OPTIONS:MTOOLS}
 USES+=		tk
 USE_GL=		gl glu
-USE_XORG=	xmu
+USE_XORG=	x11 xmu
 CMAKE_ARGS+=	-DCGNS_BUILD_CGNSTOOLS:BOOL=TRUE			\
 		-DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}"	\
 		-DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}"
@@ -63,12 +63,10 @@ PLIST_SUB=	TOOLS="@comment "
 
 LIBVER=		${PORTVERSION:R}
 
-.if ${PORT_OPTIONS:MTESTS}
-regression-test:
-. for pg in ${TESTSBIN}
+do-test-TESTS-on:
+.for pg in ${TESTSBIN}
 	@(cd ${BUILD_WRKSRC}/src/tests; ./${pg})
-. endfor
-.endif
+.endfor
 
 post-install:
 	${LN} -sf libcgns.so.${LIBVER} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${LIBVER:R}



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