pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/regress/buildlink-transform Update to work with curren...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48ca209a1550
branches:  trunk
changeset: 487166:48ca209a1550
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jan 10 17:11:36 2005 +0000

description:
Update to work with current bsd.wrapper.mk.

diffstat:

 regress/buildlink-transform/Makefile |  18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diffs (37 lines):

diff -r d173800545ab -r 48ca209a1550 regress/buildlink-transform/Makefile
--- a/regress/buildlink-transform/Makefile      Mon Jan 10 16:58:46 2005 +0000
+++ b/regress/buildlink-transform/Makefile      Mon Jan 10 17:11:36 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/09/25 22:05:46 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2005/01/10 17:11:36 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.
@@ -40,23 +40,15 @@
 # arguments.
 #
 REGRESS=               ${ECHO}
-.if defined(PHASES_AFTER_WRAPPER)
-_WRAPPEES+=            REGRESS
+WRAPPEES+=             REGRESS
 _WRAP_ALIASES.REGRESS= regress
-WRAPPER_PHASE=         wrapper
-.else
-_BLNK_WRAPPEES+=       REGRESS
-_ALIASES.REGRESS=      regress
-WRAPPER_PHASE=         buildlink
-WRAPPER_BINDIR=                ${BUILDLINK_DIR}/bin
-.endif
 
-post-${WRAPPER_PHASE}:
-       @${RM} ${WRAPPER_BINDIR}/${REGRESS}
+post-wrapper:
+       @${RM} -f ${WRAPPER_BINDIR}/${REGRESS}
 
 .PHONY: regress do-regress
 
-regress: ${WRAPPER_PHASE} do-regress
+regress: wrapper do-regress
 
 FAILED_TESTS=  ${WRKDIR}/failed
 PASSED_TESTS=  ${WRKDIR}/passed



Home | Main Index | Thread Index | Old Index