Page MenuHomeFreeBSD

databases/unixODBC: Fix paths in manpages
ClosedPublic

Authored by michaelo on Aug 27 2025, 7:54 PM.
Tags
None
Referenced Files
F153178043: D52193.diff
Sun, Apr 19, 3:23 PM
F153072017: D52193.id161075.diff
Sat, Apr 18, 11:16 PM
Unknown Object (File)
Tue, Apr 14, 10:18 PM
Unknown Object (File)
Sat, Apr 11, 5:56 PM
Unknown Object (File)
Mon, Apr 6, 4:36 PM
Unknown Object (File)
Fri, Apr 3, 5:58 PM
Unknown Object (File)
Wed, Mar 25, 9:53 AM
Unknown Object (File)
Tue, Mar 24, 10:41 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66583
Build 63466: arc lint + arc unit

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.