1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Turn the libgnomedb dependency into an OPTION.

This commit is contained in:
Joe Marcus Clarke 2006-03-27 00:19:05 +00:00
parent 3633b416d6
commit 3b2d33c5f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158229
2 changed files with 6 additions and 4 deletions

View File

@ -26,14 +26,15 @@ USE_X_PREFIX= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui
WANT_GNOME= yes
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= GNOMEDB "Enable libgnomedb support" off
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgnomedb}!=""
.if defined(WITH_GNOMEDB)
USE_GNOME+= libgnomedb
CONFIGURE_ARGS+= --enable-gnome-db
.else

View File

@ -27,7 +27,6 @@ USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeprintui \
libgsf_gnome pygtk2 desktopfileutils
WANT_GNOME= yes
USE_PYTHON= yes
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
@ -44,6 +43,8 @@ MAN1= gnumeric.1 ssconvert.1 ssindex.1
PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS GNOMEDB "Enable libgnomedb support" off
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
@ -52,7 +53,7 @@ PLIST_SUB+= PERL="@comment "
PLIST_SUB+= PERL=""
.endif
.if ${HAVE_GNOME:Mlibgnomedb}!=""
.if defined(WITH_GNOMEDB)
USE_GNOME+= libgnomedb
CONFIGURE_ARGS+= --with-gda
PLIST_SUB+= GNOMEDB=""