don't depend on gtk12 (gnomelibs->gnome1) if gnome1(+gnome2) is installed

but WITH_GTK2 is defined

Submitted by:	Pav Lucistnik <pav@oook.cz>
Approved by:	alex (mentor)
This commit is contained in:
Oliver Lehmann 2003-05-14 02:50:08 +00:00
parent 3502f0ebbc
commit 164c9f7551
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80949

View File

@ -53,7 +53,7 @@ PLIST_SUB+= NOX11:="@comment "
PLIST_SUB+= NOX11:=""
.endif
.if ${HAVE_GNOME:Mgnomelibs}!=""
.if ${HAVE_GNOME:Mgnomelibs}!="" && !defined(WITH_GTK2)
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX+= -gnome
PLIST_SUB+= DATADIR="share/gnome"