1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Remove target name restriction on USES=display

To allow to activate display on any targets
This commit is contained in:
Baptiste Daroussin 2013-07-08 13:43:38 +00:00
parent faf5f87202
commit 7ab85fc309
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322506

View File

@ -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 \