svn commit: r258298 - head/share/mk

Julio Merino jmmv at FreeBSD.org
Mon Nov 18 12:47:36 UTC 2013


Author: jmmv
Date: Mon Nov 18 12:47:35 2013
New Revision: 258298
URL: http://svnweb.freebsd.org/changeset/base/258298

Log:
  Fix the build of plain test programs.
  
  SRCS.<prog> must be explicitly defined when using the PROGS* functionality
  for each program to be built.
  
  As there are no plain test programs in the system yet, this was not
  detected.
  
  Approved by:	rpaulo (mentor)

Modified:
  head/share/mk/plain.test.mk

Modified: head/share/mk/plain.test.mk
==============================================================================
--- head/share/mk/plain.test.mk	Mon Nov 18 12:44:05 2013	(r258297)
+++ head/share/mk/plain.test.mk	Mon Nov 18 12:47:35 2013	(r258298)
@@ -24,6 +24,7 @@ _TESTS+= ${PLAIN_TESTS_C}
 .for _T in ${PLAIN_TESTS_C}
 BINDIR.${_T}= ${TESTSDIR}
 MAN.${_T}?= # empty
+SRCS.${_T}?= ${_T}.c
 TEST_INTERFACE.${_T}= plain
 .endfor
 .endif
@@ -34,6 +35,7 @@ _TESTS+= ${PLAIN_TESTS_CXX}
 .for _T in ${PLAIN_TESTS_CXX}
 BINDIR.${_T}= ${TESTSDIR}
 MAN.${_T}?= # empty
+SRCS.${_T}?= ${_T}.cc
 TEST_INTERFACE.${_T}= plain
 .endfor
 .endif


More information about the svn-src-all mailing list