Created attachment 168181 [details] Patch for audio/dsbmixer/Makefile Log URL: http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/411034/logs/dsbmixer-0.2.5.log Build URL: http://package19.nyi.freebsd.org/build.html?mastername=103i386-default-build-as-user&build=411034
It's also possible to upgrade to 0.2.6, and make the definitions of INSTALL_PROGRAM and INSTALL_DATA in the program's Makefile conditional (?=), instead of redefining them in the port's Makefile with MAKE_ARGS.
Created attachment 168189 [details] Patch to upgrade port from 0.2.5 to 0.2.6 In version 0.2.6 I removed the -g and -o flags from the INSTALL_PROGRAM and INSTALL_DATA commands. Building the port as regular user is now working.
Created attachment 168190 [details] Poudriere build log (10.2R, i386, non-root) Poudriere configured with BUILD_AS_NON_ROOT=yes
Created attachment 168192 [details] Poudriere build log (10.1R, i386, non-root) Poudriere configured with BUILD_AS_NON_ROOT=yes
A commit references this bug: Author: rakuco Date: Tue Mar 22 10:36:17 UTC 2016 New revision: 411644 URL: https://svnweb.freebsd.org/changeset/ports/411644 Log: Update to 0.2.6. This update includes a fix for installing dsbmixer as a regular, non-root user. PR: 207995 Submitted by: Marcel Kaiser <mk@nic-nac-project.org> (maintainer) Changes: head/audio/dsbmixer/Makefile head/audio/dsbmixer/distinfo
Committed, thanks. Sorry that it took so long to land this. Food for thought: have you considered using either autotools or CMake instead of rolling your own Makefile? It makes it more portable across different operating systems and avoids problems like this one.
(In reply to Raphael Kubo da Costa from comment #6) > Committed, thanks. Sorry that it took so long to land this. Thank you, no problem. > Food for thought: have you considered using either autotools or CMake > instead of rolling your own Makefile? It makes it more portable across > different operating systems and avoids problems like this one. I used autotools for projects that should be able to build and run on different operating systems, but since my ports are FreeBSD specific and not very complex, I avoid the pain.