Provide workarround for bug in bsd.gnome.mk, which in the case of WANT_GNOME

and HAVE_GNOME defined doesn't provide GNOME/NOGNOME PLIST_SUB.

Submitted by:	Jimmy Olgeni <olgeni@uli.it>
This commit is contained in:
Maxim Sobolev 2000-11-09 14:04:32 +00:00
parent b5e33f059e
commit 6784068838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34945
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include <bsd.port.pre.mk>
.if defined(HAVE_GNOME)
LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade
LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
USE_GNOMELIBS= yes
CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \
--with-gnome-canvas-pixbuf
.else

View File

@ -29,7 +29,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include <bsd.port.pre.mk>
.if defined(HAVE_GNOME)
LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade
LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
USE_GNOMELIBS= yes
CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \
--with-gnome-canvas-pixbuf
.else