Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/atf/usr.bin/atf-run Make the .pc file rules dep...



details:   https://anonhg.NetBSD.org/src/rev/5c52124e4933
branches:  trunk
changeset: 754692:5c52124e4933
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sat May 08 16:57:24 2010 +0000

description:
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.

diffstat:

 external/bsd/atf/usr.bin/atf-run/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4ce5e4917d8f -r 5c52124e4933 external/bsd/atf/usr.bin/atf-run/Makefile
--- a/external/bsd/atf/usr.bin/atf-run/Makefile Sat May 08 15:26:54 2010 +0000
+++ b/external/bsd/atf/usr.bin/atf-run/Makefile Sat May 08 16:57:24 2010 +0000
@@ -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
 
 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 @@
 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' \



Home | Main Index | Thread Index | Old Index