summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1999-01-04 03:14:48 +0000
committerchuckr <chuckr@FreeBSD.org>1999-01-04 03:14:48 +0000
commitfd81691f6b6264379f526600331957187bd66122 (patch)
treecbe208614e462b94ec23aa35900a50fda0e095fd /usr.bin/rpcgen
parent18c1130833f1f2078d58a86e74c1b4d439115410 (diff)
downloadFreeBSD-src-fd81691f6b6264379f526600331957187bd66122.zip
FreeBSD-src-fd81691f6b6264379f526600331957187bd66122.tar.gz
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.
Diffstat (limited to 'usr.bin/rpcgen')
-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 d0e4c14..36b46e3 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>
OpenPOWER on IntegriCloud