Package: dhcpcd Version: 1:3.2.3-6 Severity: serious Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, the current version fails to build on GNU/kFreeBSD. On GNU/kFreeBSD it needs the same handling as on Linux. Please find patch bellow with tweaks. It would also be nice if you can ask upstream to include this changes. Thanks in advance Petr --- mk/os.mk +++ mk/os.mk @@ -52,7 +52,7 @@ echo "${INFODIR}"; \ else \ case `uname -s` in \ - Linux) echo "/var/lib/dhcpcd";; \ + Linux|GNU/kFreeBSD) echo "/var/lib/dhcpcd";; \ *) echo "/var/db";; \ esac \ fi @@ -72,6 +72,6 @@ RC= ${_RC}$(shell ${_RC_SH}) # glibc requires _BSD_SOURCE and _XOPEN_SOURCE -_DEF_SH= case `uname -s` in Linux) echo "-D_BSD_SOURCE -D_XOPEN_SOURCE=600";; *) echo;; esac +_DEF_SH= case `uname -s` in Linux|GNU/kFreeBSD) echo "-D_BSD_SOURCE -D_XOPEN_SOURCE=600";; *) echo;; esac _DEF!= ${_DEF_SH} CFLAGS+= ${_DEF}$(shell ${_DEF_SH}) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org