On Wed, Dec 21, 2022 at 03:25:19PM +0100, Laurent Cheylus wrote:
> Update for helix-editor version 22.12
> 
> - Blog post about release 22.12 Highlights
> https://helix-editor.com/news/release-22-12-highlights/
> - Changelog 
> https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2212-2022-12-06
> 

the grammar so file for zig seems to be using C++ (it needs libc++)

so, to have it to build on sparc64, we should:
- use ${COMPILER_LIBCXX} instead of c++
- set COMPILER to base-clang ports-gcc (due to C++ code)

As I don't have sparc64 acccess, I didn't test it.

I intent to commit the proposed chaxnges with the following diff tomorrow.

Comments or OK ?
-- 
Sebastien Marie

--- Makefile.orig       Sat Dec 24 09:06:46 2022
+++ Makefile    Sat Dec 24 09:06:19 2022
@@ -12,7 +12,7 @@
 # MPL-2.0
 PERMIT_PACKAGE =       Yes
 
-WANTLIB +=     ${MODCARGO_WANTLIB} c++ m
+WANTLIB +=     ${MODCARGO_WANTLIB} ${COMPILER_LIBCXX} m
 
 MASTER_SITES = https://github.com/helix-editor/helix/releases/download/${VER}/
 
@@ -22,6 +22,8 @@
 # avoid WRKDIST = ${WRKDIR}
 EXTRACT_CASES= *.tar.xz) \
        xz -dc ${FULLDISTDIR}/$$archive | ${TAR} xf - -C ${WRKDIST};;
+
+COMPILER =     base-clang ports-gcc
 
 MODULES =      devel/cargo
 

Reply via email to