Date: Tue, 06 Nov 2018 16:55:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 233032] devel/subversion-book refuses to install; checks for unknown port option Message-ID: <bug-233032-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233032 Bug ID: 233032 Summary: devel/subversion-book refuses to install; checks for unknown port option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: lev@FreeBSD.org Reporter: pl@catslair.org Flags: maintainer-feedback?(lev@FreeBSD.org) Assignee: lev@FreeBSD.org Created attachment 199016 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199016&action= =3Dedit A hopefully useful patch to remove the comparison Hi there, I'm trying to install devel/subversion-book but it fails while complaining = that the DOCS option is turned off globally and therefor it wouldn't make sense = to install the package: peter@zefiris:/usr/ports/devel/subversion-book $ make build=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =3D=3D=3D> subversion-book-4515 it does not make sense to install dedicat= ed=20=20=20=20=20=20=20=20 documentation if DOCS are globally disabled.=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 *** Error code 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Stop.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 make: stopped in /usr/ports/devel/subversion-book=20=20=20=20=20=20 At first I assumed it referred to the DOCS option in devel/subversion and I really failed to understand the logic behind this; why would it matter if I= had build Subversion with documentation? But looking into this matter a bit deeper seems to indicate that the Makefi= le is actually checking for a non-existing port option: peter@zefiris:/usr/ports/devel/subversion-book $ grep -A3 -i mdoc Makefile= =20=20=20=20=20 .if !${PORT_OPTIONS:MDOCS}=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 IGNORE=3D it does not make sense to install dedicated documentation if DO= CS are globally disabled=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 .endif=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 peter@zefiris:/usr/ports/devel/subversion-book $ make showconfig=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 =3D=3D=3D> The following configuration options are available for subversion-book-4515: HTML_SINGLE=3Don: Single HTML page edition=20=20= =20=20=20=20=20=20=20=20=20=20 PDF=3Doff: PDF edition=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =3D=3D=3D> Use 'make config' to modify these settin= gs=20=20=20=20=20 ... therefor I think the whole comparison should be removed and that the po= rt should be able to build no matter what port option is or isn't turned on or off. I tried to make a patch using diff and I hope this is useful (I'll be honest: I didn't try to see if it worked). --=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-233032-7788>