Fix script environment when WITH_GUI is defined.

PR:		38320
Submitted by:	parv <parv@pair.com>, maintainer
This commit is contained in:
Patrick Li 2002-05-23 01:03:59 +00:00
parent 20e5048262
commit ac916212bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59751

View file

@ -18,6 +18,7 @@ INSTALL_TARGET= install-binPROGRAMS
.if defined(WITH_GUI)
RUN_DEPENDS= wish:${PORTSDIR}/x11-toolkits/tk83
PLIST_SUB+= WITH_GUI=""
SCRIPTS_ENV+= WITH_GUI="YES"
.else
PLIST_SUB+= WITH_GUI="@comment "
.endif