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....@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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to