pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/configure



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 25 16:57:18 UTC 2024

Modified Files:
        pkgsrc/mk/configure: configure.mk

Log Message:
mk: wrap USE_CMAKE warning in PKG_DEVELOPER check


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/mk/configure/configure.mk

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

Modified files:

Index: pkgsrc/mk/configure/configure.mk
diff -u pkgsrc/mk/configure/configure.mk:1.36 pkgsrc/mk/configure/configure.mk:1.37
--- pkgsrc/mk/configure/configure.mk:1.36       Sun Aug 25 16:38:38 2024
+++ pkgsrc/mk/configure/configure.mk    Sun Aug 25 16:57:18 2024
@@ -1,4 +1,4 @@
-# $NetBSD: configure.mk,v 1.36 2024/08/25 16:38:38 wiz Exp $
+# $NetBSD: configure.mk,v 1.37 2024/08/25 16:57:18 wiz Exp $
 #
 # = Package-settable variables =
 #
@@ -83,7 +83,9 @@ _BUILD_DEFS+=         CONFIGURE_ENV CONFIGURE_A
 .  include "replace-localedir.mk"
 .endif
 .if defined(USE_CMAKE)
-#WARNINGS+=            "USE_CMAKE is deprecated; use devel/cmake/build.mk instead."
+.if ${PKG_DEVELOPER:Uno} != "no"
+WARNINGS+=             "USE_CMAKE is deprecated; use devel/cmake/build.mk instead."
+.endif
 .  include "cmake.mk"
 .endif
 .if defined(_CMAKE_CONFIGURE_SETTINGS)



Home | Main Index | Thread Index | Old Index