Date: Wed, 02 Jan 2019 00:22:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234554] sysutils/chyves not prefix-safe Message-ID: <bug-234554-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234554 Bug ID: 234554 Summary: sysutils/chyves not prefix-safe Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: lme@FreeBSD.org Reporter: mi@FreeBSD.org Flags: maintainer-feedback?(lme@FreeBSD.org) Assignee: lme@FreeBSD.org My PREFIX is /opt, but trying to build the port displayed errors related to /usr/local It looks like the port uses a do-patch target to replace references to PREF= IX with the values of the PREFIX. Seems like it does not get them all. The better way of achieving the same is to simply tell make(1) to prefer va= lues of environment variables over those found in the Makefile: --- Makefile (revision 489054) +++ Makefile (working copy) @@ -16,7 +16,6 @@ NO_BUILD=3D yes NO_ARCH=3D yes -do-patch: - ${REINPLACE_CMD} 's%\$$(PREFIX)%${STAGEDIR}/$$(PREFIX)%g' ${WRKSRC}/Makefile +MAKE_ARGS+=3D -e .include <bsd.port.mk> With the above change, PREFIX used by make will be that found in the MAKE_ENV... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234554-7788>