changeset 491:1086b5f8d703

Include ports rules only if WORLD_SUBDIRS_PORTS not empty. Pointed out by: Alexander A. Mityaev" <sansan adm ua>
author Aleksandr Rybalko <ray@ddteam.net>
date Tue, 27 Nov 2012 14:40:39 +0200
parents d76e5bad5ed1
children 75c84c6b57cc
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Nov 02 16:01:47 2012 +0200
+++ b/Makefile	Tue Nov 27 14:40:39 2012 +0200
@@ -453,7 +453,9 @@
 world:  build-verify build-info world-toolchain world-build world-install world-fix-lib-links
 .ORDER: build-verify build-info world-toolchain world-build world-install world-fix-lib-links
 
+.if defined(WORLD_SUBDIRS_PORTS) && !empty(WORLD_SUBDIRS_PORTS)
 .include "share/mk/zrouter.ports.mk"
+.endif
 
 rootfs-dir!
 	mkdir -p ${WORLDDESTDIR}