Subject: Re: new feature for bmake: read-only variables
To: None <>
From: Jeroen Ruigrok/asmodai <>
List: tech-pkg
Date: 09/02/2005 15:03:31
-On [20050902 12:51], Jeroen Ruigrok/asmodai ( wrote:
>Well, someone must've fixed the bmake show-options in recent weeks.  The
>portable one from sjg now works correctly and shows the ones that are
>enabled.  Previously only bootstap's bmake worked as it should.

Hmm, found a small issue again:

[14:03] [root@purgatory] (520) {0} # /usr/pkg/bin/bmake fetch
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
[14:03] [root@purgatory] (521) {0} # bmake-20050530 fetch
===> X11_TYPE=xorg is mandatory.
[14:03] [root@purgatory] (522) {0} # bmake-20050606 fetch
===> X11_TYPE=xorg is mandatory.

Found what the issue is.  Relatively simple in a way.  For projects I run
I've told people to use Simon's bmake releases.  That's wonderful, have it
installed and been wondering what was causing problems with the pkgsrc

Compared the bmake -dA output:

--- /home/asmodai/bmake-boot.log        2005-09-02 14:11:46.000000000 +0200
+++ /home/asmodai/bmake-20050606.log    2005-09-02 14:05:16.000000000 +0200
-Caching /usr/pkg/share/mk...done
-expanding "".../usr/pkg/share/mk/
-Global:MAKEFILE = /usr/pkg/share/mk/
-Global:.PARSEDIR = /usr/pkg/share/mk
+Caching /usr/share/mk ...done
+Caching /share/mk ...done
+Caching /usr/local/share/mk ...done
+Caching /opt/share/mk ...done
+Expanding ""... /usr/share/mk/
+Global:MAKEFILE = /usr/share/mk/
+Global:.PARSEDIR = /usr/share/mk

Which makes sense if you look at the devel/bmake port:

CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath}

Which of course not what I initially compile bmake with.  If I add that to
my own compiled bmakes then I don't have the issues anymore.

Just makes me wonder if this is necessary or if the top-level pkgsrc
Makefiles should perhaps use -m somewhere to override the default system
include path.

Jeroen Ruigrok van der Werven <asmodai(at)> / asmodai / kita no mono
Free Tibet! |   |
A journey of a thousand miles starts with a single step. - Chinese Proverb