aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-22 05:49:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-01-22 05:59:39 +0000
commit16ada4d8d14a222bd92c4bf332d28b7c604af457 (patch)
tree27822f658add7c6eb7a38963d6dd65980edf53ab /astro
parentb36228e152d3f3bbd6202d1210d7bf80dceb193e (diff)
downloadports-16ada4d8d14a222bd92c4bf332d28b7c604af457.tar.gz
ports-16ada4d8d14a222bd92c4bf332d28b7c604af457.zip
Diffstat (limited to 'astro')
-rw-r--r--astro/mepo/Makefile5
1 files 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