Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v retrieving revision 1.257.2.2 retrieving revision 1.257.2.3 diff -u -p -r1.257.2.2 -r1.257.2.3 --- src/share/mk/bsd.prog.mk 2011/02/17 11:59:27 1.257.2.2 +++ src/share/mk/bsd.prog.mk 2011/03/05 15:09:27 1.257.2.3 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.257.2.2 2011/02/17 11:59:27 bouyer Exp $ +# $NetBSD: bsd.prog.mk,v 1.257.2.3 2011/03/05 15:09:27 bouyer Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .ifndef HOSTPROG @@ -113,6 +113,11 @@ LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_ .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded .endif .endfor +# atf-c and atf-c++ are special cases because we cannot use [-+] as part of +# make(1) variable names. Just define them here. +LIBATF_C= ${DESTDIR}/usr/lib/libatf-c.a +LIBATF_CXX= ${DESTDIR}/usr/lib/libatf-c++.a +.MADE: ${LIBATF_C} ${LIBATF_CXX} # PAM applications, if linked statically, need more libraries .if (${MKPIC} == "no")