astro/mepo: unbreak by removing -L<dir> from pkg-config output

This commit is contained in:
Jan Beich 2023-01-22 05:49:54 +00:00
parent b36228e152
commit 16ada4d8d1

View File

@ -11,8 +11,6 @@ LICENSE= GPLv3+ OFL11
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= https://github.com/ziglang/zig/issues/12170
BUILD_DEPENDS= zig>=0.10.0:lang/zig
LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS= jq:textproc/jq
@ -29,6 +27,9 @@ CONFIGURE_ARGS= --prefix "${PREFIX}" \
--verbose
NO_INSTALL= yes # strip(1) breaks runtime
# https://github.com/ziglang/zig/issues/12170 (SDL2, curl)
MAKE_ENV+= PKG_CONFIG_SYSTEM_LIBRARY_PATH="${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \
${WRKSRC}/scripts/mepo_ui_menu_user_pin_updater.sh