Author: gonzo
Date: Sat Nov 26 00:30:39 2011
New Revision: 227985
URL: http://svn.freebsd.org/changeset/base/227985

Log:
  Provide proper error message when trying to build xdev, xdev-build or
      xdev-install targets without either XDEV or XDEV_ARCH defined.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Fri Nov 25 23:45:29 2011        (r227984)
+++ head/Makefile.inc1  Sat Nov 26 00:30:39 2011        (r227985)
@@ -1639,4 +1639,7 @@ _xi-links:
                        ln -sf ../../${XDTP}/usr/bin/$$i \
                            ../../../../usr/bin/${XDDIR}${OSREL}-$$i; \
                done
+.else
+xdev xdev-buil xdev-install:
+       @echo "*** Error: Both XDEV and XDEV_ARCH must be defined for 
\"${.TARGET}\" target"
 .endif
_______________________________________________
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