Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/kyua-cli Fix paths to internal libraries.



details:   https://anonhg.NetBSD.org/src/rev/250fce89ab65
branches:  trunk
changeset: 793481:250fce89ab65
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sat Feb 15 19:42:10 2014 +0000

description:
Fix paths to internal libraries.

This is the same fix applied to external/bsd/atf/Makefile.inc in revision
1.4 and should fix the build when using OBJMACHINE but not MAKEOBJDIR*.

diffstat:

 external/bsd/kyua-cli/Makefile.inc |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r f861c2ed6ac1 -r 250fce89ab65 external/bsd/kyua-cli/Makefile.inc
--- a/external/bsd/kyua-cli/Makefile.inc        Sat Feb 15 19:33:54 2014 +0000
+++ b/external/bsd/kyua-cli/Makefile.inc        Sat Feb 15 19:42:10 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2013/10/18 23:41:40 jmmv Exp $
+# $NetBSD: Makefile.inc,v 1.3 2014/02/15 19:42:10 jmmv Exp $
 
 .include <bsd.own.mk>
 
@@ -51,10 +51,10 @@
 CPPFLAGS+=     -I${TOPDIR}/lib         # For utils/defs.hpp.
 CPPFLAGS+=     -I${SRCDIR}
 
-PRIVATELIBDIR!=        cd ${TOPDIR}/lib; ${PRINTOBJDIR}
 .for lib in ${KYUA_LIBS}
-LDADD+=                ${PRIVATELIBDIR}/${lib}/lib${lib}.a
-DPADD+=                ${PRIVATELIBDIR}/${lib}/lib${lib}.a
+LIBOBJDIR_${lib}!=     cd ${TOPDIR}/lib/${lib}; ${PRINTOBJDIR}
+LDADD+=                        ${LIBOBJDIR_${lib}}/lib${lib}.a
+DPADD+=                        ${LIBOBJDIR_${lib}}/lib${lib}.a
 .endfor
 
 .if !empty(KYUA_LIBS:Mutils)



Home | Main Index | Thread Index | Old Index