aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1999-01-04 03:14:48 +0000
committerChuck Robey <chuckr@FreeBSD.org>1999-01-04 03:14:48 +0000
commit9b294c6e3235bc0463a8b94c463dbec182281b24 (patch)
tree717a6db0f5f363d9a9a05cabeeac26a3d03670ef /usr.bin
parent170aadf69a7288616f396544e6e5d81f42d514e1 (diff)
downloadsrc-9b294c6e3235bc0463a8b94c463dbec182281b24.tar.gz
src-9b294c6e3235bc0463a8b94c463dbec182281b24.zip
Fix a build problem when upgrading from 9 month old sources. There's
a circular dependency problem, wherein rpcgen depends on the latest includes, but those same includes depend on rpcgen to build include/rpcsvc. This was causing the build or librpcsvc to fail (like I said, only on upgrades of 9 month old sources). If there's stylistic problems, tell me, I'll learn and fix them. I did a buildworld with this, it should be safe.
Notes
Notes: svn path=/head/; revision=42275
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rpcgen/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/Makefile b/usr.bin/rpcgen/Makefile
index d0e4c14c1be6..36b46e3a6f2d 100644
--- a/usr.bin/rpcgen/Makefile
+++ b/usr.bin/rpcgen/Makefile
@@ -8,6 +8,6 @@ MAN1= rpcgen.1
# This is a kludge to work around the fact that this program
# uses 'inline' as a variable name.
#
-CFLAGS+=-Dinline=rpcgen_inline
+CFLAGS+=-Dinline=rpcgen_inline -I${.CURDIR}/../../include -I${.CURDIR}/../../sys/i386/include -I${.CURDIR}/../../include/rpc -I${.CURDIR}/../../sys/sys
.include <bsd.prog.mk>