pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libbsd



Module Name:    pkgsrc
Committed By:   vins
Date:           Tue Aug 29 16:25:59 UTC 2023

Modified Files:
        pkgsrc/devel/libbsd: Makefile builtin.mk

Log Message:
devel/libbsd: use TEST_TARGET instead of a dedicated make target.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libbsd/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libbsd/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libbsd/Makefile
diff -u pkgsrc/devel/libbsd/Makefile:1.5 pkgsrc/devel/libbsd/Makefile:1.6
--- pkgsrc/devel/libbsd/Makefile:1.5    Mon Jul  3 10:56:55 2023
+++ pkgsrc/devel/libbsd/Makefile        Tue Aug 29 16:25:59 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/07/03 10:56:55 vins Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/29 16:25:59 vins Exp $
 
 DISTNAME=      libbsd-0.11.7
 PKGREVISION=   1
@@ -22,12 +22,11 @@ USE_TOOLS+= pkg-config autoconf automake
 
 CFLAGS+=       -ffat-lto-objects
 
+TEST_TARGET=   check
+
 pre-configure:
        set -e; cd ${WRKSRC} && autoreconf -fiv
 
-do-test:
-       ${RUN} cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${MAKE} check
-
 PKGCONFIG_OVERRIDE+=   src/libbsd-ctor.pc.in
 PKGCONFIG_OVERRIDE+=   src/libbsd-overlay.pc.in
 PKGCONFIG_OVERRIDE+=   src/libbsd.pc.in

Index: pkgsrc/devel/libbsd/builtin.mk
diff -u pkgsrc/devel/libbsd/builtin.mk:1.2 pkgsrc/devel/libbsd/builtin.mk:1.3
--- pkgsrc/devel/libbsd/builtin.mk:1.2  Mon Dec 19 16:05:43 2022
+++ pkgsrc/devel/libbsd/builtin.mk      Tue Aug 29 16:25:59 2023
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2022/12/19 16:05:43 vins Exp $
+# $NetBSD: builtin.mk,v 1.3 2023/08/29 16:25:59 vins Exp $
 
 BUILTIN_PKG:=  libbsd
 
@@ -29,10 +29,10 @@ USE_BUILTIN.libbsd= no
 .  else
 USE_BUILTIN.libbsd=    ${IS_BUILTIN.libbsd}
 .    if defined(BUILTIN_PKG.libbsd) && \
-        ${IS_BUILTIN.libbsd:M[yY][eE][sS]}
+        ${IS_BUILTIN.libbsd:tl} == yes
 USE_BUILTIN.libbsd=    yes
 .      for _dep_ in ${BUILDLINK_API_DEPENDS.libbsd}
-.        if ${USE_BUILTIN.libbsd:M[yY][eE][sS]}
+.        if ${USE_BUILTIN.libbsd:tl} == yes
 USE_BUILTIN.libbsd!=                                                   \
        if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.libbsd:Q}; then \
                ${ECHO} yes;                                            \



Home | Main Index | Thread Index | Old Index