pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/meson



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Nov 14 12:42:34 UTC 2023

Modified Files:
        pkgsrc/devel/meson: build.mk

Log Message:
meson: allow disabling the install target

By setting MESON_INSTALL=no


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/meson/build.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/meson/build.mk
diff -u pkgsrc/devel/meson/build.mk:1.19 pkgsrc/devel/meson/build.mk:1.20
--- pkgsrc/devel/meson/build.mk:1.19    Sat Sep 16 13:21:23 2023
+++ pkgsrc/devel/meson/build.mk Tue Nov 14 12:42:34 2023
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.19 2023/09/16 13:21:23 tnn Exp $
+# $NetBSD: build.mk,v 1.20 2023/11/14 12:42:34 wiz Exp $
 
 MESON_REQD?=   0
 .for version in ${MESON_REQD}
@@ -141,6 +141,7 @@ meson-build:
            ninja -j ${_MAKE_JOBS_N:U1} -C output
 .endfor
 
+.if empty(${MESON_INSTALL:Mno})
 do-install: meson-install
 meson-install:
 .for d in ${INSTALL_DIRS}
@@ -153,6 +154,7 @@ meson-install:
        ${RUN}cd ${WRKSRC} && cd ${d} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
            ninja -j ${_MAKE_JOBS_N:U1} -C output install
 .endfor
+.endif
 
 do-test: meson-test
 meson-test:



Home | Main Index | Thread Index | Old Index