Make the .pc file rules depend on the Makefile so that when rebuilding
the tree with MKUPDATE=yes set after an atf upgrade, the .pc files get the correct version in them. Suggested by njoly@ in private mail.
This commit is contained in:
parent
928d9f2aec
commit
e57b6942da
6
external/bsd/atf/usr.bin/atf-run/Makefile
vendored
6
external/bsd/atf/usr.bin/atf-run/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2010/05/08 08:12:35 jmmv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2010/05/08 16:57:24 jmmv Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -32,7 +32,7 @@ FILESDIR_atf-c.pc= /usr/lib/pkgconfig
|
||||
FILESDIR_atf-c++.pc= /usr/lib/pkgconfig
|
||||
|
||||
realall: atf-c.pc
|
||||
atf-c.pc: atf-c.pc.in
|
||||
atf-c.pc: Makefile atf-c.pc.in
|
||||
${TOOL_SED} -e 's,__ATF_VERSION__,0.8,g' \
|
||||
-e 's,__CC__,gcc,g' \
|
||||
-e 's,__INCLUDEDIR__,/usr/include,g' \
|
||||
@ -41,7 +41,7 @@ atf-c.pc: atf-c.pc.in
|
||||
CLEANFILES+= atf-c.pc
|
||||
|
||||
realall: atf-c++.pc
|
||||
atf-c++.pc: atf-c++.pc.in
|
||||
atf-c++.pc: Makefile atf-c++.pc.in
|
||||
${TOOL_SED} -e 's,__ATF_VERSION__,0.8,g' \
|
||||
-e 's,__CXX__,g++,g' \
|
||||
-e 's,__INCLUDEDIR__,/usr/include,g' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user