From e3ab3cf61067676a4804cde27dc1dd69654a503e Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Thu, 25 Apr 2002 06:56:01 +0000 Subject: Add some more config knobs. PR: 37014 Submitted by: parv --- x11-wm/fvwm2/Makefile | 10 +++++++++- x11-wm/fvwm24/Makefile | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'x11-wm') diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile index e0b523991a59..72e59ee515c1 100644 --- a/x11-wm/fvwm2/Makefile +++ b/x11-wm/fvwm2/Makefile @@ -36,6 +36,14 @@ CONFIGURE_ARGS+= --with-stroke --with-stroke-library=${LOCALBASE}/lib \ --with-stroke-includes=${LOCALBASE}/include .endif +.if defined(WITHOUT_SESSION_MGMT) +CONFIGURE_ARGS+= --disable-sm +.endif + +.if defined(WITHOUT_SHAPE) +CONFIGURE_ARGS+= --disable-shape +.endif + PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" .include @@ -44,7 +52,7 @@ PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" USE_GNOME= yes PLIST_SUB+= GNOMEDATADIR="share/gnome/fvwm" .else -CONFIGURE_ARGS+= --without-gnome +CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints PLIST_SUB+= GNOMEDATADIR="share/fvwm" .endif diff --git a/x11-wm/fvwm24/Makefile b/x11-wm/fvwm24/Makefile index e0b523991a59..72e59ee515c1 100644 --- a/x11-wm/fvwm24/Makefile +++ b/x11-wm/fvwm24/Makefile @@ -36,6 +36,14 @@ CONFIGURE_ARGS+= --with-stroke --with-stroke-library=${LOCALBASE}/lib \ --with-stroke-includes=${LOCALBASE}/include .endif +.if defined(WITHOUT_SESSION_MGMT) +CONFIGURE_ARGS+= --disable-sm +.endif + +.if defined(WITHOUT_SHAPE) +CONFIGURE_ARGS+= --disable-shape +.endif + PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" .include @@ -44,7 +52,7 @@ PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" USE_GNOME= yes PLIST_SUB+= GNOMEDATADIR="share/gnome/fvwm" .else -CONFIGURE_ARGS+= --without-gnome +CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints PLIST_SUB+= GNOMEDATADIR="share/fvwm" .endif -- cgit v1.2.3