pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mk-configure Allow mkcmake-based packages to ove...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/682faf8dad06
branches:  trunk
changeset: 449287:682faf8dad06
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Wed Mar 24 21:58:42 2021 +0000

description:
Allow mkcmake-based packages to override do-configure target

diffstat:

 devel/mk-configure/mk-c.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 636e39094e23 -r 682faf8dad06 devel/mk-configure/mk-c.mk
--- a/devel/mk-configure/mk-c.mk        Wed Mar 24 20:49:19 2021 +0000
+++ b/devel/mk-configure/mk-c.mk        Wed Mar 24 21:58:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mk-c.mk,v 1.10 2021/01/06 13:05:50 cheusov Exp $
+# $NetBSD: mk-c.mk,v 1.11 2021/03/24 21:58:42 cheusov Exp $
 
 TOOL_DEPENDS+= ${BUILDLINK_API_DEPENDS.mk-c}:${BUILDLINK_PKGSRCDIR.mk-c}
 
@@ -8,11 +8,13 @@
 MAKE_ENV+=             MKCOMPILERSETTINGS=yes
 CONFIGURE_TARGET?=     configure
 
+.if !target(do-configure)
 do-configure:
        set -e; cd ${WRKSRC}; \
        env ${MAKE_ENV} \
            ${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} \
                -f ${MAKE_FILE} ${CONFIGURE_TARGET}
+.endif
 
 ###
 BUILDLINK_TREE+=       mk-c



Home | Main Index | Thread Index | Old Index