Only depend on GTK & Imlib if we're buildling the GNOME version.
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>
This commit is contained in:
parent
e370580439
commit
884cdeb180
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60050
4 changed files with 20 additions and 12 deletions
|
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
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 <bsd.port.pre.mk>
|
||||
|
||||
.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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
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 <bsd.port.pre.mk>
|
||||
|
||||
.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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue