On 2019/06/14 00:30, Jeremie Courreges-Anglas wrote:
> On Thu, Jun 13 2019, Stuart Henderson <st...@openbsd.org> wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: st...@cvs.openbsd.org   2019/06/13 15:51:46
> >
> > Modified files:
> >     databases/mariadb: Makefile 
> >
> > Log message:
> > simplify multipackages again, now that they are reunited between 
> > architectures.
> > from Brad.
> 
> This is going in the wrong direction.  Before revision 1.77
> mariadb-client had a chance to build on at least* hppa.  I was so
> disappointed by the attitude of Brad regarding by this commit that
> I forgot to check all the changes for correctness.

Is there anyone with hppa who would like to try this? Or should we just
add it speculatively as I don't think there's really a downside ..

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/mariadb/Makefile,v
retrieving revision 1.79
diff -u -p -r1.79 Makefile
--- Makefile    13 Jun 2019 21:51:46 -0000      1.79
+++ Makefile    13 Jun 2019 23:30:40 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.79 2019/06/13 21:51:46 sthen Exp $
 
 # archs with atomic ops
-ONLY_FOR_ARCHS=        alpha aarch64 amd64 arm i386 mips64 mips64el powerpc 
sparc64
+ONLY_FOR_ARCHS=        alpha aarch64 amd64 arm hppa i386 mips64 mips64el 
powerpc sparc64
 
 COMMENT-main=  multithreaded SQL database (client)
 COMMENT-server=        multithreaded SQL database (server)
@@ -119,7 +119,7 @@ LDFLAGS+=   -L${LOCALBASE}/lib
 
 CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
 
-.if ${MACHINE_ARCH} == "powerpc"
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "hppa"
 LDFLAGS+=      -latomic
 WANTLIB+=      atomic
 .endif


Reply via email to