Use option helper variable when defining INSTALLS_ICONS knob.
This commit is contained in:
parent
dd48ecb0f2
commit
ab1289d7bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438450
@ -30,15 +30,10 @@ NVCONTROL_USES= pkgconfig
|
||||
NVCONTROL_CONFIGURE_OFF= --disable-nvcontrol
|
||||
|
||||
X11_USE= GNOME=gtk20
|
||||
X11_CONFIGURE_OFF= --disable-gtk
|
||||
X11_VARS= INSTALLS_ICONS=yes
|
||||
X11_PLIST_FILES= bin/nvclock_gtk share/applications/nvclock.desktop \
|
||||
share/icons/hicolor/48x48/apps/nvclock.png
|
||||
X11_CONFIGURE_OFF= --disable-gtk
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MX11}
|
||||
INSTALLS_ICONS= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Uphold our C[XX]FLAGS except for backend part, it must be compiled with -O0
|
||||
|
Loading…
Reference in New Issue
Block a user