summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-01 09:39:28 +0000
committerobrien <obrien@FreeBSD.org>2000-12-01 09:39:28 +0000
commitcafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68 (patch)
treebf9398e3cc9469cabb5ad72a85bacda3b33f6e34 /usr.sbin/setkey
parentf5e9caf11e6f5f34714ba30c65368b7185a6cf6a (diff)
downloadFreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.zip
FreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.tar.gz
The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.".
Diffstat (limited to 'usr.sbin/setkey')
-rw-r--r--usr.sbin/setkey/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/setkey/Makefile b/usr.sbin/setkey/Makefile
index 8feb0a6..3caf739 100644
--- a/usr.sbin/setkey/Makefile
+++ b/usr.sbin/setkey/Makefile
@@ -29,7 +29,7 @@
PROG= setkey
SRCS= setkey.c parse.y token.l
CFLAGS+=-g
-CFLAGS+=-I${.CURDIR}/../../lib/libipsec
+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../lib/libipsec
DPADD= ${LIBL} ${LIBY}
LDADD= -ll -ly
CLEANFILES+= y.tab.c y.tab.h key_test.o keytest
OpenPOWER on IntegriCloud