Date: Thu, 20 Apr 2006 17:27:10 -0700 (PDT) From: Alexander Botero-Lowry <alex@foxybanana.com> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@freebsd.org Subject: [PATCH] devel/glade2: Add a WITHOUT_GNOME knob Message-ID: <200604210027.k3L0RAYR052741@Laptop.mine.box>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Alexander Botero-Lowry >Organization: >Confidential: no >Synopsis: [PATCH] devel/glade2: Add a WITHOUT_GNOME knob >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 6.0-STABLE i386 >Environment: System: FreeBSD Laptop.mine.box 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Feb 7 19:06:16 PST >Description: - glade does not require gnome support, it is just an option, so I made a (non-default) knob to disable GNOME support. Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- glade2-2.12.1_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/glade2/Makefile /usr/local/tinderbox/portstrees/FreeBSD/ports/devel/glade2/Makefile --- /usr/ports/devel/glade2/Makefile Thu Apr 20 16:58:07 2006 +++ /usr/local/tinderbox/portstrees/FreeBSD/ports/devel/glade2/Makefile Thu Apr 20 17:24:14 2006 @@ -18,21 +18,29 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= A user interface builder for GTK+/GNOME -RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome - USE_BZIP2= yes USE_GETTEXT= yes USE_X_PREFIX= yes INSTALLS_OMF= yes GNU_CONFIGURE= yes -USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui +USE_GNOME= gnomeprefix intlhack gnomehack USE_GMAKE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -#OPTIONS= GNOMEDB "Enable libgnomedb support" off +OPTIONS= GNOME "Enable gnome support" on #\ +# GNOMEDB "Enable libgnomedb support" off .include <bsd.port.pre.mk> +.if defined(WITHOUT_GNOME) +CONFIGURE_ARGS+= --disable-gnome +BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper +RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper +USE_GNOME+= gtk20 +.else +USE_GNOME+= libgnomeui +RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome +.endif #.if defined(WITH_GNOMEDB) #USE_GNOME+= libgnomedb --- glade2-2.12.1_1.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604210027.k3L0RAYR052741>