Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/kyua-testers Fix wrong objdir-finding logic. PR...



details:   https://anonhg.NetBSD.org/src/rev/96d7a1a458ab
branches:  trunk
changeset: 817091:96d7a1a458ab
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Aug 07 20:23:09 2016 +0000

description:
Fix wrong objdir-finding logic. PR 51389.

diffstat:

 external/bsd/kyua-testers/libexec/kyua-atf-tester/Makefile   |  13 ++++++-----
 external/bsd/kyua-testers/libexec/kyua-plain-tester/Makefile |   8 +++---
 external/bsd/kyua-testers/tests/kyua-testers/Makefile        |  13 ++++++-----
 3 files changed, 18 insertions(+), 16 deletions(-)

diffs (76 lines):

diff -r 94107e92cc8f -r 96d7a1a458ab external/bsd/kyua-testers/libexec/kyua-atf-tester/Makefile
--- a/external/bsd/kyua-testers/libexec/kyua-atf-tester/Makefile        Sun Aug 07 19:35:43 2016 +0000
+++ b/external/bsd/kyua-testers/libexec/kyua-atf-tester/Makefile        Sun Aug 07 20:23:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/02/19 06:04:43 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2016/08/07 20:23:09 dholland Exp $
 
 .include <bsd.own.mk>
 
@@ -11,11 +11,12 @@
 MAN=           kyua-atf-tester.1
 MAN+=          kyua-atf-interface.7
 
-PRIVATELIBDIR!=        cd ${.CURDIR}/../../lib; ${PRINTOBJDIR}
-LDADD+=                ${PRIVATELIBDIR}/libatf_tester/libatf_tester.a
-DPADD+=                ${PRIVATELIBDIR}/libatf_tester/libatf_tester.a
-LDADD+=                ${PRIVATELIBDIR}/libtester/libtester.a
-DPADD+=                ${PRIVATELIBDIR}/libtester/libtester.a
+ATFTESTER_LIBDIR!=     cd ${.CURDIR}/../../lib/libatf_tester; ${PRINTOBJDIR}
+TESTER_LIBDIR!=                cd ${.CURDIR}/../../lib/libtester; ${PRINTOBJDIR}
+LDADD+=                ${ATFTESTER_LIBDIR}/libatf_tester.a
+DPADD+=                ${ATFTESTER_LIBDIR}/libatf_tester.a
+LDADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
+DPADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
 
 CPPFLAGS+=     -DHAVE_CONFIG_H
 CPPFLAGS+=     -I${.CURDIR}/../../lib/libtester
diff -r 94107e92cc8f -r 96d7a1a458ab external/bsd/kyua-testers/libexec/kyua-plain-tester/Makefile
--- a/external/bsd/kyua-testers/libexec/kyua-plain-tester/Makefile      Sun Aug 07 19:35:43 2016 +0000
+++ b/external/bsd/kyua-testers/libexec/kyua-plain-tester/Makefile      Sun Aug 07 20:23:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/02/19 06:04:43 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2016/08/07 20:23:09 dholland Exp $
 
 .include <bsd.own.mk>
 
@@ -11,9 +11,9 @@
 MAN=           kyua-plain-tester.1
 MAN+=          kyua-plain-interface.7
 
-PRIVATELIBDIR!=        cd ${.CURDIR}/../../lib; ${PRINTOBJDIR}
-LDADD+=                ${PRIVATELIBDIR}/libtester/libtester.a
-DPADD+=                ${PRIVATELIBDIR}/libtester/libtester.a
+TESTER_LIBDIR!=                cd ${.CURDIR}/../../lib/libtester; ${PRINTOBJDIR}
+LDADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
+DPADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
 
 CPPFLAGS+=     -DHAVE_CONFIG_H
 CPPFLAGS+=     -I${.CURDIR}/../../lib/libtester
diff -r 94107e92cc8f -r 96d7a1a458ab external/bsd/kyua-testers/tests/kyua-testers/Makefile
--- a/external/bsd/kyua-testers/tests/kyua-testers/Makefile     Sun Aug 07 19:35:43 2016 +0000
+++ b/external/bsd/kyua-testers/tests/kyua-testers/Makefile     Sun Aug 07 20:23:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/02/19 06:04:44 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2016/08/07 20:23:09 dholland Exp $
 
 .include <bsd.own.mk>
 
@@ -12,11 +12,12 @@
 CPPFLAGS+=     -I${.CURDIR}/../../lib/libtester
 CPPFLAGS+=     -I${SRCDIR}
 
-PRIVATELIBDIR!=        cd ${.CURDIR}/../../lib; ${PRINTOBJDIR}
-.for lib in atf_tester tester
-LDADD+=                ${PRIVATELIBDIR}/lib${lib}/lib${lib}.a
-DPADD+=                ${PRIVATELIBDIR}/lib${lib}/lib${lib}.a
-.endfor
+ATFTESTER_LIBDIR!=     cd ${.CURDIR}/../../lib/libatf_tester; ${PRINTOBJDIR}
+TESTER_LIBDIR!=                cd ${.CURDIR}/../../lib/libtester; ${PRINTOBJDIR}
+LDADD+=                ${ATFTESTER_LIBDIR}/libatf_tester.a
+DPADD+=                ${ATFTESTER_LIBDIR}/libatf_tester.a
+LDADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
+DPADD+=                ${TESTER_LIBDIR}/libtester/libtester.a
 
 TESTS_C=       atf_list_test
 TESTS_C+=      atf_result_test



Home | Main Index | Thread Index | Old Index