git: 16ada4d8d14a - main - astro/mepo: unbreak by removing -L<dir> from pkg-config output
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Jan 2023 06:00:57 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=16ada4d8d14a222bd92c4bf332d28b7c604af457
commit 16ada4d8d14a222bd92c4bf332d28b7c604af457
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-22 05:49:54 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-22 05:59:39 +0000
astro/mepo: unbreak by removing -L<dir> from pkg-config output
---
astro/mepo/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile
index 425515f1342c..35066043f493 100644
--- a/astro/mepo/Makefile
+++ b/astro/mepo/Makefile
@@ -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