Author: rodrigc
Date: Mon Jun 15 06:44:22 2015
New Revision: 284406
URL: https://svnweb.freebsd.org/changeset/base/284406

Log:
  Use cpp -I$includedir
  
  "cpp -I$1" was expanding to "cpp -Iprint"
  which was not the proper directory
  of header files.

Modified:
  head/usr.bin/kdump/mkioctls

Modified: head/usr.bin/kdump/mkioctls
==============================================================================
--- head/usr.bin/kdump/mkioctls Mon Jun 15 06:38:59 2015        (r284405)
+++ head/usr.bin/kdump/mkioctls Mon Jun 15 06:44:22 2015        (r284406)
@@ -39,7 +39,7 @@ case "${MACHINE}" in
 esac
 
 awk -v x="$ioctl_includes" 'BEGIN {print x}' |
-       $CPP -nostdinc -I$1 -dM -DCOMPAT_43TTY - |
+       $CPP -nostdinc -I$includedir -dM -DCOMPAT_43TTY - |
        awk -v ioctl_includes="$ioctl_includes" -v style="$style" '
 BEGIN {
        print "/* XXX obnoxious prerequisites. */"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to