Package: bmake
Version: 20130904-1
Severity: normal

bmake does not set MAKE_VERSION as it's supposed to (this breaks the
kfreebsd build system). Simplified test case:

$ cat Makefile
all:
        echo ${MAKE_VERSION}
$ freebsd-make
echo 5200408120
5200408120
$ bmake
echo

$

I notice the upstream code seems to attempt this though: 

Makefile:MAKE_VERSION= 20130904
Makefile:COPTS.main.c+= "-DMAKE_VERSION=\"${MAKE_VERSION}\""

main.c:#ifdef MAKE_VERSION
main.c: Var_Set("MAKE_VERSION", MAKE_VERSION, VAR_GLOBAL, 0);
main.c:#endif

It might be a problem with CFLAGS propagation through COPTS, or something
of that kind. Maybe it depends on which version of make you build bmake
with? E.g. are you bootstrapping it with GNU make?

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Foreign Architectures: kfreebsd-i386

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bmake depends on:
ii  libc0.1  2.17-97

bmake recommends no packages.

bmake suggests no packages.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to