Index | Thread | Search

From:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Subject:
Fix x11/gnustep/make on non-x86
To:
"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de>
Cc:
ports@openbsd.org
Date:
Fri, 12 Jan 2024 18:42:13 +0100

Download raw body.

Thread
  • Jeremie Courreges-Anglas:

    Fix x11/gnustep/make on non-x86

The following diff let me x11/gnustep and consumers on riscv64, actually
it should fix all clang archs.  ports-gcc is currently unsupported and
ports-clang uses libc++/libc++abi from base for ObjC code, which sounds
wrong, so I'm just trying to fix base-clang right now.

ok?


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnustep/make/Makefile,v
diff -u -p -r1.63 Makefile
--- Makefile	27 Sep 2023 20:37:10 -0000	1.63
+++ Makefile	12 Jan 2024 17:38:12 -0000
@@ -3,9 +3,10 @@
 COMMENT=	GNUstep makefile package
 
 CATEGORIES=	devel x11/gnustep
-GH_TAGNAME=	2.9.1
 GH_ACCOUNT=	gnustep
 GH_PROJECT=	tools-make
+GH_TAGNAME=	2.9.1
+REVISION=	0
 DISTNAME=	gnustep-make-${GH_TAGNAME}
 HOMEPAGE=	http://www.gnustep.org/
 
@@ -39,12 +40,11 @@ CONFIGURE_ARGS=	--with-layout=openbsd \
 
 #		--with-runtime-abi=gnustep-2.0
 
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
+# base-clang
 LIBRARY_COMBO =		"ng-gnu-gnu"
 CONFIGURE_ENV +=	GS_WITH_ARC=1 AS=llvm-as
-.else
-LIBRARY_COMBO =		"gnu-gnu-gnu"
-.endif
+# XXX ports-gcc?
+#LIBRARY_COMBO =	"gnu-gnu-gnu"
 
 pre-configure:
 	${SUBST_CMD} -c -m 444 ${FILESDIR}/openbsd \


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE