pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Remove the need for ${FIND} in the top-level make.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b319ca6b9d6f
branches: trunk
changeset: 493270:b319ca6b9d6f
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon May 02 05:16:21 2005 +0000
description:
Remove the need for ${FIND} in the top-level make.
diffstat:
mk/bsd.prefs.mk | 4 +-
regress/buildlink-transform/Makefile | 44 ++++++++++++++++++++++++++++-------
regress/buildlink-unwrap/Makefile | 16 +++++-------
3 files changed, 44 insertions(+), 20 deletions(-)
diffs (108 lines):
diff -r a7d1e9ebf1ab -r b319ca6b9d6f mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Mon May 02 05:09:16 2005 +0000
+++ b/mk/bsd.prefs.mk Mon May 02 05:16:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.186 2005/04/30 15:07:57 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.187 2005/05/02 05:16:21 jlam Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -273,7 +273,7 @@
# These tools are used by the top-level make only in certain packages and
# should eventually be moved into those particular package Makefiles.
#
-USE_TOOLS+= date find tr
+USE_TOOLS+= date tr
_USE_NEW_TOOLS?= no
.if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
diff -r a7d1e9ebf1ab -r b319ca6b9d6f regress/buildlink-transform/Makefile
--- a/regress/buildlink-transform/Makefile Mon May 02 05:09:16 2005 +0000
+++ b/regress/buildlink-transform/Makefile Mon May 02 05:16:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/05/02 05:09:16 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2005/05/02 05:16:21 jlam Exp $
#
# Run many buildlink transform tests in a single regression test to avoid
# having to keep creating the wrapper scripts over and over again.
@@ -96,15 +96,41 @@
# If RUNTESTS is defined, then just run those tests, otherwise run them all.
.if defined(RUNTESTS)
TEST_MAKEFILES= ${RUNTESTS:S/^/${TEST_DIR}\//:S/$/.mk/}
+. for _mkfile_ in ${TEST_MAKEFILES}
+. if exists(${_mkfile_})
+. include "${_mkfile_}"
+. endif
+. endfor
.else
-TEST_MAKEFILES!= \
- ${FIND} ${TEST_DIR} -name "*.mk" -print || ${ECHO} "none"
+. include "tests/include-pkgdir-slashdot.mk"
+. include "tests/include-pkgdir.mk"
+. include "tests/include-pkgsubdir.mk"
+. include "tests/include-usr-include-slashdot.mk"
+. include "tests/include-usr-include-subdir.mk"
+. include "tests/include-usr-include.mk"
+. include "tests/lib-expand.mk"
+. include "tests/libdir-pkgdir-slashdot.mk"
+. include "tests/libdir-pkgdir.mk"
+. include "tests/libdir-pkgsubdir.mk"
+. include "tests/libdir-usr-lib-slashdot.mk"
+. include "tests/libdir-usr-lib-subdir.mk"
+. include "tests/libdir-usr-lib.mk"
+. include "tests/libpath.mk"
+. include "tests/libpath-in-define.mk"
+. include "tests/no-abspath.mk"
+. include "tests/preserve-option.mk"
+. include "tests/quoted-arg.mk"
+. include "tests/remove-dir.mk"
+. include "tests/remove-option.mk"
+. include "tests/repeated-arg.mk"
+. include "tests/rpath-pkgdir-slashdot.mk"
+. include "tests/rpath-pkgdir.mk"
+. include "tests/rpath-pkgsubdir.mk"
+. include "tests/rpath-usr-lib-slashdot.mk"
+. include "tests/rpath-usr-lib-subdir.mk"
+. include "tests/rpath-usr-lib.mk"
+. include "tests/libpath-shlib.mk"
+. include "tests/libpath-shmod.mk"
.endif
-.for _mkfile_ in ${TEST_MAKEFILES}
-. if exists(${_mkfile_})
-. include "${_mkfile_}"
-. endif
-.endfor
-
.include "../../mk/bsd.pkg.mk"
diff -r a7d1e9ebf1ab -r b319ca6b9d6f regress/buildlink-unwrap/Makefile
--- a/regress/buildlink-unwrap/Makefile Mon May 02 05:09:16 2005 +0000
+++ b/regress/buildlink-unwrap/Makefile Mon May 02 05:16:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:47:10 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/05/02 05:16:21 jlam Exp $
DISTNAME= regress-buildlink-unwrap-0.0
CATEGORIES= regress
@@ -87,15 +87,13 @@
# If RUNTESTS is defined, then just run those tests, otherwise run them all.
.if defined(RUNTESTS)
TEST_MAKEFILES= ${RUNTESTS:S/^/${TEST_DIR}\//:S/$/.mk/}
+. for _mkfile_ in ${TEST_MAKEFILES}
+. if exists(${_mkfile_})
+. include "${_mkfile_}"
+. endif
+. endfor
.else
-TEST_MAKEFILES!= \
- ${FIND} ${TEST_DIR} -name "*.mk" -print || ${ECHO} "none"
+. include "tests/unwrap-config.mk"
.endif
-.for _mkfile_ in ${TEST_MAKEFILES}
-. if exists(${_mkfile_})
-. include "${_mkfile_}"
-. endif
-.endfor
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index