[Bug 194401] New: bsd.port.mk's OSVERSION change interferes with option WITHOUT_TOOLCHAIN in src.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 16 10:45:23 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194401

            Bug ID: 194401
           Summary: bsd.port.mk's OSVERSION change interferes with option
                    WITHOUT_TOOLCHAIN in src.conf
           Product: Base System
           Version: 10.0-STABLE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de

Created attachment 148369
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148369&action=edit
Install /usr/include/sys/param.h with WITHOUT_TOOLCHAIN set

In ports/Mk/bsd.ports.mk the following cahnge was made:
-OSVERSION!=    ${SYSCTL} -n kern.osreldate
+.error Unable to determine OS version.  Either define OSVERSION, install
/usr/include/sys/param.h or define SRC_BASE.

On systems which were installed with "WITHOUT_TOOLCHAIN=true" in src.conf,
there is no 'param.h'.
Since BSD.include.dist will always be populated by mtree at installworld stage,
regardless the WITHOUT_TOOLCHAIN option, I'd like to see param.h beeing present
an all systems, also regardless of WITHOUT_TOOLCHAIN.

The attached patch incorporates this.
It's useful for using the ports-tree as information source, when someone might
want to 'make fetch' or 'make makesum' (for automated updates of own ports) or
'make -V'...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list