commit:     9bbb700a3bfeaca7307a154564db00feff201e6e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 18:58:07 2018 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 19:05:13 2018 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=9bbb700a

Makefile: layout-usrmerge should do nothing on non-Linux systems

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 35bdb627..f1b0344d 100644
--- a/Makefile
+++ b/Makefile
@@ -86,9 +86,11 @@ layout: layout-dirs layout-$(OS)
        ln -snf /var/tmp $(DESTDIR)/usr/tmp
 
 layout-usrmerge: layout
+ifeq ($(OS),Linux)
        ln -snf usr/bin ${DESTDIR}/bin
        ln -snf usr/sbin ${DESTDIR}/sbin
        ln -snf bin ${DESTDIR}/usr/sbin
+endif
 
 live:
        rm -rf /tmp/$(PKG)

Reply via email to