Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 22:13:13 +0100
From:      "Herbert J. Skuhra" <herbert.skuhra@gmx.at>
To:        gnome@FreeBSD.org
Subject:   diff to build pan2 w/o gtkspell
Message-ID:  <20040204211313.GA61755@oslo.ath.cx>

next in thread | raw e-mail | index | archive | help

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hei!

I have modified the Makefile of news/pan2 to build the port without
gtkspell and gnome. Not sure if this is the right way to do it though.
Well it's working for me! ;-)

Regards,
Herbert

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename="pan2.diff"

diff -ruN pan2.orig/Makefile pan2/Makefile
--- pan2.orig/Makefile	Wed Feb  4 21:12:47 2004
+++ pan2/Makefile	Wed Feb  4 22:08:53 2004
@@ -17,13 +17,25 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Threaded GNOME 2 newsreader based on Agent for Windows
 
-LIB_DEPENDS=	gtkspell.0:${PORTSDIR}/textproc/gtkspell2 \
-		gnet-2.0.0:${PORTSDIR}/net/gnet2
+LIB_DEPENS	gnet-2.0.0:${PORTSDIR}/net/gnet2
+
+.if defined(WITHOUT_GTKSPELL)
+CONFIGURE_ARGS=	--disable-gtkspell
+.endif
+
+.if !defined(WITHOUT_GTKSPELL)
+LIB_DEPENDS+=	gtkspell.0:${PORTSDIR}/textproc/gtkspell2
+.endif
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix gnomehack gnometarget libxml2
+USE_GNOME=	libxml2
+
+.if !defined(WITHOUT_GNOME)
+USE_GNOME+=	gnomeprefix gnomehack gnometarget
+.endif
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"

--pWyiEgJYm5f9v55/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040204211313.GA61755>