1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix multiple options testing in one line

This commit is contained in:
Baptiste Daroussin 2012-05-31 22:35:33 +00:00
parent 4369b57585
commit c2e47e6249
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297911
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ PLIST_SUB+= LANG_RU=""
.else
PLIST_SUB+= LANG_RU="@comment "
.endif
.if ${PORT_OPTIONS:MLANG_DE} && ${PORT_OPTIONS:MLANG_FR} && ${PORT_OPTIONS:MLANG_PTBR} && ${PORT_OPTIONS:MLANG_RU}
.if !empty(PORT_OPTIONS:MLANG_DE) && !empty(PORT_OPTIONS:MLANG_FR) && !empty(PORT_OPTIONS:MLANG_PTBR) && !empty(PORT_OPTIONS:MLANG_RU)
PLIST_SUB+= TRANSLATIONS=""
.else
PLIST_SUB+= TRANSLATIONS="@comment "
@ -117,7 +117,7 @@ do-install:
( cd ${WRKSRC} && \
${INSTALL_DATA} designer/libqscintillaplugin.so ${PLUGINDIR} )
.endif
.if ${PORT_OPTIONS:MLANG_DE} || ${PORT_OPTIONS:MLANG_FR} || ${PORT_OPTIONS:MLANG_PTBR} || ${PORT_OPTIONS:MLANG_RU}
.if !empty(PORT_OPTIONS:MLANG_DE) || !empty(PORT_OPTIONS:MLANG_FR) || !empty(PORT_OPTIONS:MLANG_PTBR) || !empty(PORT_OPTIONS:MLANG_RU)
${MKDIR} -m 0755 ${DATADIR}/translations
.endif
.if ${PORT_OPTIONS:MLANG_DE}

View File

@ -108,7 +108,7 @@ CONFIGURE_ARGS+= --disable-gtk
PLIST_SUB+= GTK2="@comment "
.endif
.if ${PORT_OPTIONS:MMETACITY} && ${PORT_OPTIONS:MGNOME} && ${PORT_OPTIONS:MGTK2}
.if !empty(PORT_OPTIONS:MMETACITY) && !empty(PORT_OPTIONS:MGNOME) && !empty(PORT_OPTIONS:MGTK2)
CONFIGURE_ARGS+= --enable-metacity
USE_GNOME+= metacity
.else