summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 04:26:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 04:26:21 +0000
commit8ba9b4f15cfc25ad6215d671fd5685b03de66fc2 (patch)
tree48da65926ab0ee92648df393a415c0f4bac233ab /usr.bin
parentbb3c985b2123ca11ada92bfbb5f46e9ff4e8059f (diff)
Make mkioctls obey the DESTDIR environment variable.
From NetBSD (leo).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/mkioctls4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index 44fb0330510..15d409f1196 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: mkioctls,v 1.2 1996/06/26 05:34:44 deraadt Exp $
+# $OpenBSD: mkioctls,v 1.3 1997/04/16 04:26:20 millert Exp $
#
# Copyright (c) 1994
@@ -35,7 +35,7 @@
#
# @(#)mkioctls 8.2 (Berkeley) 4/28/95
#
-cpp -dM ${1+"$@"} | awk '
+cpp -nostdinc -idirafter $DESTDIR/usr/include -dM ${1+"$@"} | awk '
BEGIN {
print "#include <sys/param.h>"
print "#include <sys/socket.h>"