Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 09:38:12 -0600
From:      Reid Linnemann <linnemannr@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Using bsd.prog.mk in source Makefile
Message-ID:  <CA%2B0MdpNvvzUhWJDc46w7U5QZfLO_rSPSZ5wJeC5DFFP79y3LGQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All,

I'm having issues with an internal port in which the source tree makefile
uses bsd.prog.mk. Using poudriere to build packages as a non-root user, any
targets in the source makefiles which use *OWN and *GRP (such as the
install target) will fail during staging because of an attempt to
chown/chgrp that the non-privileged build user cannot perform. I'm
wondering what the proper resolution for this problem is?

I've tried setting WITH_INSTALL_AS_USER=yes to my port's MAKE_ENV and
BUILD_ENV, and that did not appear to have any effect.

Thanks!

-Reid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B0MdpNvvzUhWJDc46w7U5QZfLO_rSPSZ5wJeC5DFFP79y3LGQ>