Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2017 01:05:25 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315181 - head/sbin/setkey
Message-ID:  <201703130105.v2D15PQK056344@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Mar 13 01:05:25 2017
New Revision: 315181
URL: https://svnweb.freebsd.org/changeset/base/315181

Log:
  Fix CFLAGS for including netipsec headers #includes
  
  The netipsec headers are referenced via netipsec/..., not ./... .
  Thus, assuming that the netipsec/... is nested under ${SRCTOP}/sys/netipsec
  is wrong.
  
  This tripped up some individuals building ^/head on systems pre-r314812.
  
  MFC after:	1 week
  Reported by:	Roberto Rodriguez Jr <rob.rodz.jr9@gmail.com>
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sbin/setkey/Makefile

Modified: head/sbin/setkey/Makefile
==============================================================================
--- head/sbin/setkey/Makefile	Sun Mar 12 20:19:37 2017	(r315180)
+++ head/sbin/setkey/Makefile	Mon Mar 13 01:05:25 2017	(r315181)
@@ -46,7 +46,7 @@ CLEANFILES=	y.tab.c y.tab.h key_test.o k
 # ipsec_strerror.c is for avoiding shlib reference to non-exported function.
 .PATH: ${SRCTOP}/lib/libipsec ${SRCTOP}/sys/netipsec
 SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
-CFLAGS+= -I${SRCTOP}/sys/netipsec
+CFLAGS+= -I${SRCTOP}/sys
 
 SRCS+=	y.tab.h
 y.tab.h: parse.y



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703130105.v2D15PQK056344>