After installing archivers/dpkg, running the "update-alternatives" command results in the following: $ update-alternatives --install /usr/local/bin/gcc4 gcc4 /usr/local/bin/gcc48 100 update-alternatives: error: cannot append to '/usr/local/var/log/alternatives.log': No such file or directory I created a patch for the Makefile that creates this directory post-install. I'm not sure if I did it in the right format. This is the command that I used: $ diff -uN Makefile.orig Makefile > dpkg-Makefile.patch I figured that I don't use the "make makepatch" for this instance because the changes have nothing to do with the source code.
Hi, Due to an issue with the backend FreeBSD Bugzilla database, your original PR and any updates to it since have been lost. I've recreated the original PR as best as I can, however any attachments and updates you submitted to the PR have been lost. Please could you resubmit them? Thanks, and apologies.
Created attachment 151529 [details] Makefile patch for archivers/dpkg that creates "/usr/local/var/log" directory Here is the patch. But, I also plan to submit it upstream.
A commit references this bug: Author: pawel Date: Sun Jan 25 11:03:02 UTC 2015 New revision: 377877 URL: https://svnweb.freebsd.org/changeset/ports/377877 Log: Use /var/log for logdir PR: 196626 Reported by: Jordan Irwin <antumdeluge@gmail.com> Changes: head/archivers/dpkg/Makefile
Package uses /var/db/dpkg for it's database, so let's consistently use /var/log for logs. Thanks for reporting.
Excellent! That's a better fix than mine. :)