Hi ports -- hppa needs -latomic to build x11/worker. Fixes the build here.
OK? ~Brian
Index: Makefile =================================================================== RCS file: /cvs/ports/x11/worker/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- Makefile 30 Jan 2019 03:16:02 -0000 1.37 +++ Makefile 15 Apr 2019 21:12:14 -0000 @@ -1,6 +1,5 @@ # $OpenBSD: Makefile,v 1.37 2019/01/30 03:16:02 bcallah Exp $ -BROKEN-hppa = no atomic ops COMMENT = Midnight Commander-like file manager for X DISTNAME = worker-3.15.4 CATEGORIES = x11 @@ -17,7 +16,7 @@ WANTLIB += fontconfig freetype m pthread MASTER_SITES = http://www.boomerangsworld.de/cms/worker/downloads/ # C++11 -COMPILER = base-clang ports-clang ports-gcc +COMPILER = base-clang ports-gcc RUN_DEPENDS = devel/desktop-file-utils @@ -28,6 +27,11 @@ CONFIGURE_ARGS = --without-avfs \ --without-libmagic \ --disable-inotify \ --disable-lua + +.if ${MACHINE_ARCH:Mhppa} +WANTLIB += atomic +MAKE_FLAGS = LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -latomic" +.endif TEST_DEPENDS = devel/check TEST_FLAGS = CXXFLAGS="${CXXFLAGS} -std=c++11 -I${LOCALBASE}/include"