Page MenuHomeFreeBSD

databases/unixODBC: Fix paths in manpages
ClosedPublic

Authored by michaelo on Aug 27 2025, 7:54 PM.
Tags
None
Referenced Files
F148530797: D52193.id161079.diff
Wed, Mar 18, 12:35 PM
Unknown Object (File)
Tue, Mar 17, 10:27 AM
Unknown Object (File)
Fri, Mar 13, 7:23 PM
Unknown Object (File)
Fri, Mar 13, 1:38 PM
Unknown Object (File)
Tue, Mar 3, 2:40 AM
Unknown Object (File)
Fri, Feb 27, 8:14 PM
Unknown Object (File)
Jan 31 2026, 9:37 PM
Unknown Object (File)
Jan 3 2026, 11:29 PM
Subscribers
None

Details

Summary

Manpages aren't filtered during install for LOCALBASE, fix that.

Approved by: jrm (mentor), otis (mentor), brnrd (maintainer)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michaelo created this revision.

Looks good.

root@15amd64-default:/wrkdirs/usr/ports/databases/unixODBC/work/unixODBC-2.3.12/man # grep -o '/usr/lib' isql.1 iusql.1 odbcinst.1 odbc.ini.5 odbcinst.ini.5 unixODBC.7 | uniq
odbcinst.ini.5:/usr/lib

Only one of those man pages includes /usr/lib. If we're fine running this on files that may not match in order to make the substitution future proof against upstream changes, consider something like:

post-patch:
	@${REINPLACE_CMD}
		-e 's|\.ini$$|.ini.sample|' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} \
		-e 's|/etc|${LOCALBASE}/etc|' \
		-e 's|/usr/lib|${LOCALBASE}/lib|' ${WRKSRC}/man/*.[1-9]
This revision is now accepted and ready to land.Aug 27 2025, 8:46 PM

Now waiting for the maintainer...

This revision was automatically updated to reflect the committed changes.