svn commit: r331601 - stable/11/include

Hans Petter Selasky hselasky at FreeBSD.org
Mon Mar 26 23:23:12 UTC 2018


Author: hselasky
Date: Mon Mar 26 23:23:11 2018
New Revision: 331601
URL: https://svnweb.freebsd.org/changeset/base/331601

Log:
  Fix buildworld after r331586 by adapting the installation of
  dev/mlx5/mlx5io.h to the build system in FreeBSD 11-stable.
  
  This is a direct commit.
  
  Found by:	jhb@
  Pointy hat:	hselasky@
  Sponsored by:   Mellanox Technologies

Modified:
  stable/11/include/Makefile

Modified: stable/11/include/Makefile
==============================================================================
--- stable/11/include/Makefile	Mon Mar 26 23:20:37 2018	(r331600)
+++ stable/11/include/Makefile	Mon Mar 26 23:23:11 2018	(r331601)
@@ -254,9 +254,9 @@ copies: .PHONY .META
 	    ${DESTDIR}${INCLUDEDIR}/sys
 .endif
 .if ${MK_MLX5TOOL} != "no"
-	cd ${SRCTOP}/sys/dev/mlx5; \
+	cd ${.CURDIR}/../sys/dev/mlx5; \
 	${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 mlx5io.h \
-	    ${SDESTDIR}${INCLUDEDIR}/dev/mlx5
+	    ${DESTDIR}${INCLUDEDIR}/dev/mlx5
 .endif
 
 symlinks: .PHONY .META
@@ -389,7 +389,7 @@ symlinks: .PHONY .META
 	done
 .if ${MK_MLX5TOOL} != "no"
 	${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/mlx5/mlx5io.h \
-	    ${SDESTDIR}${INCLUDEDIR}/dev/mlx5
+	    ${DESTDIR}${INCLUDEDIR}/dev/mlx5
 .endif
 
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list