Make the NO_GUI option honor WITHOUT_X11 definition.
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net> (maintainer)
This commit is contained in:
@@ -12,6 +12,11 @@ MASTER_SITES= http://energyhq.homeip.net/files/
|
||||
|
||||
MAINTAINER= flynn@energyhq.homeip.net
|
||||
|
||||
.if defined(WITHOUT_X11) && !defined(NO_GUI)
|
||||
NO_GUI= yes
|
||||
MAKE_ENV+= NO_GUI=yes
|
||||
.endif
|
||||
|
||||
.if !defined(NO_GUI) && !defined(WITH_GTK12)
|
||||
LIB_DEPENDS= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user