summaryrefslogtreecommitdiff
path: root/Mk/Uses/display.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-08 13:43:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-08 13:43:38 +0000
commit7ab85fc3091a92f4dfd9a4225eb00d6310087161 (patch)
tree71c4945107668cbbdf0a2d4d91261b0c29085a4c /Mk/Uses/display.mk
parentRemove uneeded USE_DISPLAY (diff)
Remove target name restriction on USES=display
To allow to activate display on any targets
Notes
Notes: svn path=/head/; revision=322506
Diffstat (limited to 'Mk/Uses/display.mk')
-rw-r--r--Mk/Uses/display.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mk/Uses/display.mk b/Mk/Uses/display.mk
index 97861b26fe5f..2d8d29dc0166 100644
--- a/Mk/Uses/display.mk
+++ b/Mk/Uses/display.mk
@@ -4,7 +4,7 @@
#
# Feature: display
# Usage: USES=display or USES=display:ARGS
-# Valid ARGS: install (default, implicit), build
+# Valid ARGS: install (default, implicit), any target
#
# Except the target where the DISPLAY is needed
#
@@ -13,9 +13,6 @@
_INCLUDE_USES_DISPLAY_MK= yes
display_ARGS?= install
-.if ${display_ARGS} != build && ${display_ARGS} != install
-IGNORE= USES=display can only take 'build', 'install' and none
-.endif
.if !defined(DISPLAY)
BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver \