pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mk-configure



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed Mar 24 21:58:42 UTC 2021

Modified Files:
        pkgsrc/devel/mk-configure: mk-c.mk

Log Message:
Allow mkcmake-based packages to override do-configure target


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/mk-configure/mk-c.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/mk-configure/mk-c.mk
diff -u pkgsrc/devel/mk-configure/mk-c.mk:1.10 pkgsrc/devel/mk-configure/mk-c.mk:1.11
--- pkgsrc/devel/mk-configure/mk-c.mk:1.10      Wed Jan  6 13:05:50 2021
+++ pkgsrc/devel/mk-configure/mk-c.mk   Wed Mar 24 21:58:42 2021
@@ -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+=            SYSCONFDIR=${PKG_SYSCONFDIR}
 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