Date: Sun, 25 Jun 2023 15:31:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272066] sysutils/scanbd: fix port tool warnings and make sure the scanbd.conf file is a sample Message-ID: <bug-272066-7788-M9QzgR1NhD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272066-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-272066-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272066 Robert Clausecker <fuz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org, | |trueos@norwegianrockcat.com Flags| |maintainer-feedback?(trueos | |@norwegianrockcat.com) Assignee|ports-bugs@FreeBSD.org |fuz@FreeBSD.org --- Comment #1 from Robert Clausecker <fuz@FreeBSD.org> --- In scanbd.conf, you should dynamically patch in the correct PREFIX. We sup= port compiling packages for a different PREFIX than /usr/local. For example, you could have a static patch that just puts %%PREFIX%% into the file, then a pre-configure target that does something like ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' .../scanbd.conf to patch in the right PREFIX. There is a trailing space in scanbd.in. I'm not very comfortable with you pointing the default configuration to the examples directory. This directory is meant for examples, not configurati= on that can be hotwired into the tool. Also, examples can be omitted if the p= ort is built without the EXAMPLES option. I'm not sure what a better solution would be. Shall I commit the patch anyway? You can fix these things in a future upda= te. --=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-272066-7788-M9QzgR1NhD>