On 03/16/16 09:28 PM, Larry Rosenman wrote:
> ll_subdir_usr.bin/xo ---
> /usr/src/contrib/libxo/xo/xo.c:16:10: fatal error: 'xo_config.h' file not 
> found
> #include "xo_config.h"
> 
> 
> 
> Path: /usr/src
> Working Copy Root Path: /usr/src
> URL: https://svn.freebsd.org/base/head
> Relative URL: ^/head
> Repository Root: https://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 296976
> Node Kind: directory
> Schedule: normal
> Last Changed Author: np
> Last Changed Rev: 296975
> Last Changed Date: 2016-03-16 20:15:16 -0500 (Wed, 16 Mar 2016)
It seems r296967 is the culprit:

https://svnweb.freebsd.org/changeset/base/296967
The attached patch fixed the build issues for me.

Jung-uk Kim
Index: lib/libxo/tests/Makefile
===================================================================
--- lib/libxo/tests/Makefile	(revision 296976)
+++ lib/libxo/tests/Makefile	(working copy)
@@ -241,6 +241,7 @@ PROGS+= test_10
 PROGS+= test_11
 
 CFLAGS+=	-I${LIBXOSRC}/libxo
+CFLAGS+=	-I${SRCTOP}/lib/libxo
 
 LIBADD=		xo util 
 
Index: usr.bin/xo/Makefile
===================================================================
--- usr.bin/xo/Makefile	(revision 296976)
+++ usr.bin/xo/Makefile	(working copy)
@@ -12,6 +12,9 @@ MAN=	xo.1
 # XXX For xoversion.h
 CFLAGS+=-I${LIBXOSRC}/libxo
 
+# XXX For xo_config.h
+CFLAGS+=-I${SRCTOP}/lib/libxo
+
 LIBADD=	xo
 
 .if ${MK_TESTS} != "no"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to