Date: Tue, 8 Sep 2009 11:10:02 GMT From: Keith Gaughan <k@stereochro.me> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/138614: devel/gearmand: Upgrade to 0.9, and dependency fixes Message-ID: <200909081110.n88BA2SZ008432@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/138614; it has been noted by GNATS. From: Keith Gaughan <k@stereochro.me> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/138614: devel/gearmand: Upgrade to 0.9, and dependency fixes Date: Tue, 8 Sep 2009 11:40:21 +0100 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry, I forgot the pkg-plist updates. I only realised after I'd submitted the PR. I also noticed that a number of the man pages could be excluded based on what database client libraries were present, and added knobs to allow the database client libraries to be required if not already installed. The attached shar file contains the necessary patches. -- Keith Gaughan - kmgaughan@eircom.net - http://talideon.com/ - CF9F6473 Odd things, animals. Dogs look up to you. Cats look down to you. Only pigs see you as an equal. -- Winston Churchill --IJpNTDwzlM2Ie8A6 Content-Type: application/x-shar Content-Disposition: attachment; filename="gearman-0.9.shar" Content-Transfer-Encoding: quoted-printable # This is a shell archive. Save it in a file, remove anything before=0A# t= his line, and then unpack it by entering "sh file". Note, it may=0A# creat= e directories; files and directories will be owned by you and=0A# have defa= ult permissions.=0A#=0A# This archive contains:=0A#=0A# Makefile.patch=0A# = pkg-plist.patch=0A# patch-configure=0A#=0Aecho x - Makefile.patch=0Ased 's/= ^X//' >Makefile.patch << '510beb51362fa3774a3169b33b47ec43'=0AX--- Makefile= =2Eorig 2009-09-07 18:10:31.000000000 +0100=0AX+++ Makefile 2009-09-08 11:3= 5:31.000000000 +0100=0AX@@ -6,7 +6,7 @@=0AX #=0AX =0AX PORTNAME=3D gearmand= =0AX-PORTVERSION=3D 0.8=0AX+PORTVERSION=3D 0.9=0AX CATEGORIES=3D devel=0AX = MASTER_SITES=3D http://launchpad.net/gearmand/trunk/${PORTVERSION}/+downloa= d/=0AX =0AX@@ -14,7 +14,8 @@=0AX COMMENT=3D Gearman C Server and Library=0A= X =0AX LIB_DEPENDS=3D event:${PORTSDIR}/devel/libevent \=0AX- uuid:${PORTS= DIR}/misc/e2fsprogs-libuuid=0AX+ uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \= =0AX+ memcached:${PORTSDIR}/databases/libmemcached=0AX =0AX CONFIGURE_ENV= =3D LDFLAGS=3D"-L${LOCALBASE}/lib"=0AX FETCH_ARGS=3D -pRr=0AX@@ -273,4 +274= ,36 @@=0AX gearmand_wakeup.3=0AX MAN8=3D gearmand.8=0AX =0AX+CONFIGURE_A= RGS+=3D --without-memcached=0AX+=0AX+.include <bsd.port.options.mk>=0AX+=0A= X+# Both of these are detected automatically by ./configure, and can't be= =0AX+# turned off, so it's best to add them as dependencies if present to= =0AX+# prevent breakage. We may, however, want the DB client libraries inst= alled,=0AX+# so there's two knobs for enabling support for.=0AX+.if exists(= ${LOCALBASE}/lib/libpq.so) || defined(WITH_POSTGRESQL)=0AX+USE_PGSQL=3D yes= =0AX+PLIST_SUB+=3D PQ=3D""=0AX+MAN3+=3D gearman_queue_libpq_conf.3 \=0AX+ = gearman_queue_libpq_deinit.3 \=0AX+ gearman_queue_libpq_init.3 \=0AX+ ge= armand_queue_libpq_deinit.3 \=0AX+ gearmand_queue_libpq_init.3=0AX+.else= =0AX+PLIST_SUB+=3D PQ=3D"@comment "=0AX+.endif=0AX+=0AX+.if exists(${LOCALB= ASE}/libdata/pkgconfig/sqlite3.pc) || defined(WITH_SQLITE3)=0AX+LIB_DEPENDS= +=3D sqlite3.8:${PORTSDIR}/databases/sqlite3=0AX+PLIST_SUB+=3D SQLITE3=3D""= =0AX+MAN3+=3D gearman_queue_libsqlite3_conf.3 \=0AX+ gearman_queue_libsql= ite3_deinit.3 \=0AX+ gearman_queue_libsqlite3_init.3 \=0AX+ gearmand_queu= e_libsqlite3_deinit.3 \=0AX+ gearmand_queue_libsqlite3_init.3=0AX+.else=0A= X+PLIST_SUB+=3D SQLITE3=3D"@comment "=0AX+.endif=0AX+=0AX .include <bsd.por= t.mk>=0A510beb51362fa3774a3169b33b47ec43=0Aecho x - pkg-plist.patch=0Ased '= s/^X//' >pkg-plist.patch << '027f2cc391fff822e3e5d68a3f06eb8e'=0AX--- pkg-p= list.orig 2009-09-08 11:27:01.000000000 +0100=0AX+++ pkg-plist 2009-09-08 1= 1:26:37.000000000 +0100=0AX@@ -12,6 +12,9 @@=0AX include/libgearman/job.h= =0AX include/libgearman/packet.h=0AX include/libgearman/protocol_http.h=0AX= +include/libgearman/queue_libmemcached.h=0AX+%%PQ%%include/libgearman/queue= _libpq.h=0AX+%%SQLITE3%%include/libgearman/queue_libsqlite3.h=0AX include/l= ibgearman/server.h=0AX include/libgearman/server_client.h=0AX include/libge= arman/server_con.h=0A027f2cc391fff822e3e5d68a3f06eb8e=0Aecho x - patch-conf= igure=0Ased 's/^X//' >patch-configure << '3d0de32cf684c49206e6b02056c21fac'= =0AX--- configure.orig 2009-09-07 15:34:37.000000000 +0100=0AX+++ configure= 2009-09-07 15:34:21.000000000 +0100=0AX@@ -24161,7 +24161,7 @@=0AX =0AX = memcached_st memc;=0AX memcached_dump_func *df;=0AX- memcached_ver= sion();=0AX+ memcached_lib_version();=0AX =0AX ;=0AX return 0;=0A3d0= de32cf684c49206e6b02056c21fac=0Aexit=0A=0A --IJpNTDwzlM2Ie8A6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909081110.n88BA2SZ008432>