x11-wm/river: restore /usr fix accidentally removed in 1d4d1fedb9

The manpage still has /usr refernces e.g.,

  /usr/include/xkbcommon/xkbcommon-keysyms.h
  /usr/include/linux/input-event-codes.h

(cherry picked from commit 0bef5c1945)
This commit is contained in:
Jan Beich 2021-11-13 00:55:59 +00:00
parent 4d9d34e843
commit 3f44b1f472

View File

@ -63,6 +63,9 @@ post-patch:
# Respect devel/pkgconf default search
@${REINPLACE_CMD} -e '/pkgconfig/s/share/libdata/' \
${WRKSRC}/build.zig
# Respect PREFIX in path references
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \
${WRKSRC}/doc/${PORTNAME}ctl.1.scd
do-build:
@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})