Hi ports --

bfs I discovered might not build on all archs. We need to be explicit with the BFS_HAS_SYS_ACL preprocessor variable. We don't have a /usr/include/sys/acl.h, so set it to 0 to not try to pick it up.

Noticed when building bfs on hppa.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/bfs/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile	12 Feb 2019 21:47:11 -0000	1.4
+++ Makefile	15 Apr 2019 19:45:34 -0000
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2019/02/12 21:47:11 bcallah Exp $
 
 COMMENT =	breadth-first version of the UNIX find command
+REVISION =	0
 CATEGORIES =	sysutils
 
 GH_ACCOUNT =	tavianator
@@ -15,6 +16,7 @@ PERMIT_PACKAGE_CDROM =	Yes
 WANTLIB += c
 
 USE_GMAKE =	Yes
+MAKE_FLAGS =	CFLAGS="${CFLAGS} -DBFS_HAS_SYS_ACL=0"
 
 FAKE_FLAGS =	DESTDIR=
 

Reply via email to