summaryrefslogtreecommitdiffstats
path: root/lib/atf/libatf-c++
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-11-17 23:12:55 +0000
committerjmmv <jmmv@FreeBSD.org>2013-11-17 23:12:55 +0000
commit3f9944eeba112b77a2694fb1bb51591b29d15932 (patch)
tree756e02a4b958e8c9eb7e544720a6db8fb160ba8f /lib/atf/libatf-c++
parent3422c417105d437900c7dd99c74ba5a0a99ff25b (diff)
downloadFreeBSD-src-3f9944eeba112b77a2694fb1bb51591b29d15932.zip
FreeBSD-src-3f9944eeba112b77a2694fb1bb51591b29d15932.tar.gz
Fix the build of some ATF tests.
When building various programs from a single Makefile, program-specific variables are of the form <VAR>.<PROG>, not <VAR>_<PROG>. Fix this obvious typo to fix the build when WITH_TESTS=yes. I am not sure how this ever worked before given that manual inspection of bsd.progs.mk clearly shows that the expected character between the two components is a dot and not an underscore... but I suspect the changes in r258095 exposed this oddity. Approved by: rpaulo (mentor)
Diffstat (limited to 'lib/atf/libatf-c++')
-rw-r--r--lib/atf/libatf-c++/tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/atf/libatf-c++/tests/Makefile b/lib/atf/libatf-c++/tests/Makefile
index 68eacde..db10fce 100644
--- a/lib/atf/libatf-c++/tests/Makefile
+++ b/lib/atf/libatf-c++/tests/Makefile
@@ -23,7 +23,7 @@ FILES+= unused_test.cpp
tests_test \
utils_test
ATF_TESTS_CXX+= ${_T}
-SRCS_${_T}= ${_T}.cpp test_helpers.cpp
+SRCS.${_T}= ${_T}.cpp test_helpers.cpp
.endfor
ATF_TESTS_SH= pkg_config_test
@@ -41,7 +41,7 @@ ATF_TESTS_SH= pkg_config_test
text_test \
ui_test
ATF_TESTS_CXX+= ${_T}
-SRCS_${_T}= ${_T}.cpp test_helpers.cpp
+SRCS.${_T}= ${_T}.cpp test_helpers.cpp
.endfor
.include <atf.test.mk>
OpenPOWER on IntegriCloud