pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/bootstrap-mk-files bootstrap-mk-files-20080415:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2507ec902884
branches:  trunk
changeset: 541115:2507ec902884
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Apr 15 16:49:56 2008 +0000

description:
bootstrap-mk-files-20080415:
Don't bother with real dependency tracking, just touch .depend.

diffstat:

 pkgtools/bootstrap-mk-files/Makefile         |   4 +-
 pkgtools/bootstrap-mk-files/files/bsd.dep.mk |  34 +--------------------------
 2 files changed, 4 insertions(+), 34 deletions(-)

diffs (64 lines):

diff -r 17f73e6c2f57 -r 2507ec902884 pkgtools/bootstrap-mk-files/Makefile
--- a/pkgtools/bootstrap-mk-files/Makefile      Tue Apr 15 16:34:28 2008 +0000
+++ b/pkgtools/bootstrap-mk-files/Makefile      Tue Apr 15 16:49:56 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2008/03/13 17:28:23 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/04/15 16:49:56 joerg Exp $
 
-DISTNAME=      bootstrap-mk-files-20080310
+DISTNAME=      bootstrap-mk-files-20080415
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 17f73e6c2f57 -r 2507ec902884 pkgtools/bootstrap-mk-files/files/bsd.dep.mk
--- a/pkgtools/bootstrap-mk-files/files/bsd.dep.mk      Tue Apr 15 16:34:28 2008 +0000
+++ b/pkgtools/bootstrap-mk-files/files/bsd.dep.mk      Tue Apr 15 16:49:56 2008 +0000
@@ -1,10 +1,8 @@
-#      $NetBSD: bsd.dep.mk,v 1.1.1.1 2006/07/14 23:13:00 jlam Exp $
+#      $NetBSD: bsd.dep.mk,v 1.2 2008/04/15 16:49:56 joerg Exp $
 
 .PHONY:                cleandepend
 cleandir: cleandepend
 
-MKDEP?=                mkdep
-
 # some of the rules involve .h sources, so remove them from mkdep line
 realdepend: beforedepend
 .if defined(SRCS)
@@ -12,35 +10,7 @@
 .NOPATH: .depend
 .depend: ${SRCS} ${DPSRCS}
        @rm -f .depend
-       @files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \
-       if [ "$$files" != " " ]; then \
-         echo ${MKDEP} -a ${MKDEPFLAGS} \
-           ${AFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} -traditional-cpp ${AINC:Q} \
-           $$files; \
-         ${MKDEP} -a ${MKDEPFLAGS} \
-           ${AFLAGS:M-[ID]*} ${CPPFLAGS} -traditional-cpp ${AINC} $$files; \
-       fi
-       @files="${.ALLSRC:M*.c}"; \
-       if [ "$$files" != "" ]; then \
-         echo ${MKDEP} -a ${MKDEPFLAGS} \
-           ${CFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
-         ${MKDEP} -a ${MKDEPFLAGS} \
-           ${CFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
-       fi
-       @files="${.ALLSRC:M*.m}"; \
-       if [ "$$files" != "" ]; then \
-         echo ${MKDEP} -a ${MKDEPFLAGS} \
-           ${OBJCFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
-         ${MKDEP} -a ${MKDEPFLAGS} \
-           ${OBJCFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
-       fi
-       @files="${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}"; \
-       if [ "$$files" != "  " ]; then \
-         echo ${MKDEP} -a ${MKDEPFLAGS} \
-           ${CXXFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
-         ${MKDEP} -a ${MKDEPFLAGS} \
-           ${CXXFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
-       fi
+       @touch .depend
 cleandepend:
        rm -f .depend ${.CURDIR}/tags ${CLEANDEPEND}
 .else



Home | Main Index | Thread Index | Old Index