aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2012-05-28 22:04:54 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2012-05-28 22:04:54 +0000
commit3676146ac4ffb6a5006ea1c5682f740dee6ef6a2 (patch)
tree9c55b3659c414bc3b11e0386f3baa9a5087059d9 /editors
parent6020c6b8ddb494c400bf25552a6dc34bd7f9c140 (diff)
downloadports-3676146ac4ffb6a5006ea1c5682f740dee6ef6a2.tar.gz
ports-3676146ac4ffb6a5006ea1c5682f740dee6ef6a2.zip
Fix gnome2 support. Two bugs prevented the GNOME2 config options from
being acknowledged. [1] A check was made for WITH_GNOME, instead of WITH_GNOME2 [2] A check explicitly ignored the WITH_GNOME2 option unless that variable was set to "1" or "yes", despite bsd.options.mk specifically setting it to "true" PR: ports/164129 Approved by: maintainer timeout (4.5 months)
Notes
Notes: svn path=/head/; revision=297626
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 32538a2e3c59..7bad77ea04a9 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -136,7 +136,7 @@ MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp --with-tclsh="${TCLSH:S/${LOCALBASE
. if !defined(WITHOUT_X11)
# for now default the GUI to the GTK+ one
-. if !defined(WITH_X11_ONLY) && !defined(WITH_ATHENA) && !defined(WITH_MOTIF) && !defined(WITH_GNOME) && !defined(WITH_GTK2)
+. if !defined(WITH_X11_ONLY) && !defined(WITH_ATHENA) && !defined(WITH_MOTIF) && !defined(WITH_GNOME2) && !defined(WITH_GTK2)
WITH_GTK2= yes
. endif
@@ -148,14 +148,11 @@ MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk2 --with-gtk-prefix=${LOCALBASE}" ${I1
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
USE_XORG+= xt
. elif defined(WITH_GNOME2)
-. if ${WITH_GNOME2:Mlibgnomeui}!="" || ${WITH_GNOME2}=="yes" || \
- ${WITH_GNOME2}=="1"
USE_GNOME= libgnomeui
PKGNAMESUFFIX= -gnome2
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gnome2" ${I18N}
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
USE_XORG+= xt
-. endif
. elif defined(WITH_MOTIF)
USE_MOTIF= yes
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\"" MOTIFHOME=${LOCALBASE} ${I18N}