Manpages aren't filtered during install for LOCALBASE, fix that.
Approved by: jrm (mentor), otis (mentor), brnrd (maintainer)
Differential D52193
databases/unixODBC: Fix paths in manpages michaelo on Aug 27 2025, 7:54 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Manpages aren't filtered during install for LOCALBASE, fix that. Approved by: jrm (mentor), otis (mentor), brnrd (maintainer)
Diff Detail
Event TimelineComment Actions 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 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] |