Hi ports --

The following unobtrusive diff allows lang/clips to build and work on hppa.
Does not affect other archs.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/clisp/Makefile,v
retrieving revision 1.49
diff -u -p -r1.49 Makefile
--- Makefile	21 Nov 2017 00:13:01 -0000	1.49
+++ Makefile	16 Apr 2019 00:23:18 -0000
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.49 2017/11/21 00:13:01 naddy Exp $
 
-ONLY_FOR_ARCHS =	amd64 i386 powerpc sparc64
+ONLY_FOR_ARCHS =	amd64 hppa i386 powerpc sparc64
 
 COMMENT =		ANSI Common Lisp implementation
 
@@ -50,6 +50,11 @@ CFLAGS +=		-fno-pie -nopie
 LDFLAGS +=		-nopie
 .else
 CONFIGURE_ARGS +=	--without-gmalloc
+.endif
+
+.if ${MACHINE_ARCH} == "hppa"
+CFLAGS +=		-DSAFETY=3 -DNO_ASM
+CONFIGURE_ARGS +=	--with-gmalloc
 .endif
 
 pre-build:

Reply via email to