From 1768574b7d8952d710d384b2cfe72d5a0b0ae32c Mon Sep 17 00:00:00 2001 From: petef Date: Mon, 27 May 2002 00:10:24 +0000 Subject: Only depend on GTK & Imlib if we're buildling the GNOME version. Submitted by: AMAKAWA Shuhei --- x11-wm/fvwm2/Makefile | 14 +++++++++----- x11-wm/fvwm2/pkg-plist | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'x11-wm/fvwm2') diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile index 72e59ee515c1..219754ff6ae7 100644 --- a/x11-wm/fvwm2/Makefile +++ b/x11-wm/fvwm2/Makefile @@ -23,11 +23,16 @@ LIB_DEPENDS+= stroke.0:${PORTSDIR}/devel/libstroke .endif USE_GMAKE= yes -USE_GTK= yes -USE_IMLIB= yes USE_XPM= yes USE_X_PREFIX= yes + +.include + WANT_GNOME= yes +.if defined(HAVE_GNOME) +USE_GTK= yes +USE_IMLIB= yes +.endif GNU_CONFIGURE= yes @@ -46,13 +51,12 @@ CONFIGURE_ARGS+= --disable-shape PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" -.include - .if defined(HAVE_GNOME) USE_GNOME= yes PLIST_SUB+= GNOMEDATADIR="share/gnome/fvwm" .else -CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints +CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints \ + --disable-gtktest --disable-imlibtest PLIST_SUB+= GNOMEDATADIR="share/fvwm" .endif diff --git a/x11-wm/fvwm2/pkg-plist b/x11-wm/fvwm2/pkg-plist index fc9e521939bc..d1fe26b66b68 100644 --- a/x11-wm/fvwm2/pkg-plist +++ b/x11-wm/fvwm2/pkg-plist @@ -29,7 +29,7 @@ libexec/fvwm/%%FVWM_VERSION%%/FvwmDebug libexec/fvwm/%%FVWM_VERSION%%/FvwmDragWell libexec/fvwm/%%FVWM_VERSION%%/FvwmEvent libexec/fvwm/%%FVWM_VERSION%%/FvwmForm -libexec/fvwm/%%FVWM_VERSION%%/FvwmGtk +%%GNOME:%%libexec/fvwm/%%FVWM_VERSION%%/FvwmGtk libexec/fvwm/%%FVWM_VERSION%%/FvwmIconBox libexec/fvwm/%%FVWM_VERSION%%/FvwmIconMan libexec/fvwm/%%FVWM_VERSION%%/FvwmIdent -- cgit