Move MK_REPRODUCIBLE_PATHS to bsd.opts.mk

In commit faeaa25f56 MK_REPRODUCIBLE_PATHS was introduced, but some
ports that include bsd.debug.mk then started to fail with:

    make: /usr/share/mk/bsd.debug.mk:19: Variable "MK_REPRODUCIBLE_PATHS" is undefined
            in /usr/share/mk/bsd.lib.mk:525
            in /wrkdirs/usr/ports/devel/libsysinfo/work/libsysinfo-0.0.3/Makefile:16
    make: Fatal errors encountered -- cannot continue

This is because bsd.debug.mk includes bsd.opts.mk, not src.opts.mk. Move
the MK_REPRODUCIBLE_PATHS option to bsd.opts.mk to fix this.

Reviewed by:	imp, emaste
Fixes:		faeaa25f56
This commit is contained in:
Dimitry Andric
2025-12-29 16:13:10 +01:00
parent bbaa7d6281
commit 660416fd19
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -79,6 +79,7 @@ __DEFAULT_NO_OPTIONS = \
INSTALL_AS_USER \
MANSPLITPKG \
REPRODUCIBLE_BUILD \
REPRODUCIBLE_PATHS \
RETPOLINE \
RUN_TESTS \
STALE_STAGED \
-1
View File
@@ -217,7 +217,6 @@ __DEFAULT_NO_OPTIONS = \
MALLOC_PRODUCTION \
OFED_EXTRA \
OPENLDAP \
REPRODUCIBLE_PATHS \
RPCBIND_WARMSTART_SUPPORT \
SORT_THREADS \
ZONEINFO_LEAPSECONDS_SUPPORT \