Date: Mon, 26 Jul 2021 09:04:49 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257431] textproc/lowdown: Does not fully respect LOCALBASE Message-ID: <bug-257431-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257431 Bug ID: 257431 Summary: textproc/lowdown: Does not fully respect LOCALBASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: john@jmarshall.id.au Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) CC: Created attachment 226709 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226709&action= =3Dedit Patch port Makefile to pass PREFIX to configure script The lowdown configure script sets PREFIX=3D"/usr/local" which forces some o= f the files to be staged to ${STAGEDIR}/usr/local instead of ${STAGEDIR}${LOCALBA= SE}, resulting in the port install target not finding those files. The attached patch adds CONFIGURE_ARGS+=3D PREFIX=3D${PREFIX} to the port's Makefile to force the desired ${STAGEDIR}${LOCALBASE} destination for all of the port's files. Also add blank line to keep BUILD_DEPENDS separate for portlint(1). Maybe this is not the canonical way to fix this (do we need to 'patch' the configure script instead?) but "it works for me" and it's a simple solution. --=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-257431-7788>