Fix script environment when WITH_GUI is defined.
PR: 38320 Submitted by: parv <parv@pair.com>, maintainer
This commit is contained in:
parent
20e5048262
commit
ac916212bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59751
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue