summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-01-29 08:36:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-01-29 08:36:33 +0000
commit4f83e0a043fff45fb20c2a5628e22781dbc66e2c (patch)
tree32e60e2c1822ce96488055cbb1be8798b4252828 /editors/vim
parentadd gspoof 2.1.1 (diff)
Switch over to GNOMENG (I wish the knob was named something else as I don't
even want to suggest Vim now depends on the all that is GNOME). This appears to be affectively a no-op as `ldd' reports the same libs as before. PR: 46770 Submitted by: marcus
Notes
Notes: svn path=/head/; revision=74197
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index d37f7c066886..95500e3d79e6 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -41,6 +41,7 @@ WITH_CSCOPE= yes
USE_BZIP2= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
DIST_SUBDIR= vim
WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --forward --quiet -E ${PATCH_DIST_STRIP}
@@ -96,20 +97,24 @@ MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
.if !defined(WITHOUT_X11)
# for now default the GUI to the GTK+ one
# will be reviewed when the GTK+ 1.{3,4} behemoth is released
-.if !defined(WITH_ATHENA) && !defined(WITH_GTK) && !defined(WITH_MOTIF) && !defined(WITH_GNOME)
-WITH_GTK= yes
+.if !defined(WITH_ATHENA) && !defined(WITH_MOTIF) && !defined(WITH_GNOME)
+WITH_GNOME= gtk12
.endif
.if defined(WITH_ATHENA)
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N}
-.elif defined(WITH_GTK)
-USE_GTK= yes
-MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE}" ${I18N}
-MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
.elif defined(WITH_GNOME)
-USE_GNOME= yes
+.if ${WITH_GNOME:Mgnomelibs}!="" || ${WITH_GNOME}=="yes" || \
+ ${WITH_GNOME}=="1"
+USE_GNOME= gnomelibs gnomeprefix
+PKGNAMESUFFIX= -gnome
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gnome --with-gtk-prefix=${X11BASE}" ${I18N}
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+.else
+USE_GNOME= gtk12
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE}" ${I18N}
+MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+.endif
.elif defined(WITH_MOTIF)
USE_MOTIF= yes
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\"" MOTIFHOME=${X11BASE} ${I18N}
@@ -129,7 +134,7 @@ LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
# Until the bsd.gnome.mk people fix their damned file
-.if defined(WITH_GTK)
+.if defined(WITH_GNOME)
USE_XLIB= yes
.endif