ports/134949: databases/tokyotyrant : Add --enable-lua and change tokyocabinet BUILD_DEPENDS

Gea-Suan Lin gslin at gslin.org
Tue May 26 14:20:23 UTC 2009


The following reply was made to PR ports/134949; it has been noted by GNATS.

From: Gea-Suan Lin <gslin at gslin.org>
To: bug-followup at FreeBSD.org
Cc: gslin at gslin.org
Subject: Re: ports/134949: databases/tokyotyrant :  Add --enable-lua and
	change tokyocabinet BUILD_DEPENDS
Date: Tue, 26 May 2009 22:10:25 +0800

 --3lcZGd9BuhuYXNfi
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 
 Please use attachment.
 
 Thanks,
 
 On Tue, May 26, 2009 at 08:20:12AM +0000, Edwin Groothuis wrote:
 > Maintainer of databases/tokyotyrant,
 > 
 > Please note that PR ports/134949 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/134949
 > 
 > -- 
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin at FreeBSD.org
 
 -- 
 * Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
 * If you cannot convince them, confuse them.           -- Harry S Truman
 
 --3lcZGd9BuhuYXNfi
 Content-Type: text/x-diff; charset=utf-8
 Content-Disposition: attachment; filename="tokyotyrant.diff"
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/databases/tokyotyrant/Makefile /home/staff/gslin/work/ports/tokyotyrant/Makefile
 --- /usr/ports/databases/tokyotyrant/Makefile	2009-05-17 17:54:20.000000000 +0800
 +++ /home/staff/gslin/work/ports/tokyotyrant/Makefile	2009-05-26 22:07:12.000000000 +0800
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	tokyotyrant
 -PORTVERSION=	1.1.26
 +PORTVERSION=	1.1.27
  CATEGORIES=	databases
  MASTER_SITES=	SF
  MASTER_SITE_SUBDIR=	tokyocabinet
 @@ -14,9 +14,8 @@
  MAINTAINER=	gslin at gslin.org
  COMMENT=	Network interface of Tokyo Cabinet
  
 -BUILD_DEPENDS=	tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
 +BUILD_DEPENDS=	tokyocabinet>=1.4.20:${PORTSDIR}/databases/tokyocabinet
  LIB_DEPENDS=	tokyocabinet:${PORTSDIR}/databases/tokyocabinet
 -RUN_DEPENDS=	tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
  
  GNU_CONFIGURE=	yes
  USE_LDCONFIG=	yes
 @@ -27,10 +26,21 @@
  MAN3=		tcrdb.3 tculog.3 ttutil.3
  MAN8=		ttservctl.8
  
 +OPTIONS=	LUA	"Enable LUA support" off
 +
 +.include <bsd.port.pre.mk>
 +
 +.if defined(WITH_LUA)
 +CONFIGURE_ARGS+=	--enable-lua
 +CONFIGURE_ENV+=	LDFLAGS="-L${LUA_LIBDIR}"
 +CFLAGS+=	-I${LUA_INCDIR}
 +USE_LUA=	yes
 +.endif
 +
  # Since gnomehack only works for "(libdir)" case, we need to patch it
  # manually.
  post-patch:
  	${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g' \
  		${WRKSRC}/Makefile.in
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 diff -ruN --exclude=CVS /usr/ports/databases/tokyotyrant/distinfo /home/staff/gslin/work/ports/tokyotyrant/distinfo
 --- /usr/ports/databases/tokyotyrant/distinfo	2009-05-17 17:54:20.000000000 +0800
 +++ /home/staff/gslin/work/ports/tokyotyrant/distinfo	2009-05-26 21:55:20.000000000 +0800
 @@ -1,3 +1,3 @@
 -MD5 (tokyotyrant-1.1.26.tar.gz) = 99fc118a6bf6577d067a3a77badc085d
 -SHA256 (tokyotyrant-1.1.26.tar.gz) = 8f4e0e9525ee29803970d66b5d4579eeaecb1c3fa6e9e70adaacd4b325f1a7e8
 -SIZE (tokyotyrant-1.1.26.tar.gz) = 179384
 +MD5 (tokyotyrant-1.1.27.tar.gz) = 35a6be737ee17f02fd9712f548a274ca
 +SHA256 (tokyotyrant-1.1.27.tar.gz) = 089eb3f430e63570e6644498241123ad9eaad6c904b0401e788cccc64ec729e9
 +SIZE (tokyotyrant-1.1.27.tar.gz) = 181340
 diff -ruN --exclude=CVS /usr/ports/databases/tokyotyrant/pkg-plist /home/staff/gslin/work/ports/tokyotyrant/pkg-plist
 --- /usr/ports/databases/tokyotyrant/pkg-plist	2009-05-17 17:54:20.000000000 +0800
 +++ /home/staff/gslin/work/ports/tokyotyrant/pkg-plist	2009-05-26 22:04:59.000000000 +0800
 @@ -18,9 +18,10 @@
  lib/libtokyotyrant.a
  lib/libtokyotyrant.so
  lib/libtokyotyrant.so.3
 -lib/libtokyotyrant.so.3.9.0
 +lib/libtokyotyrant.so.3.10.0
  lib/ttskeldir.so
  lib/ttskelmock.so
 +lib/ttskelnull.so
  lib/ttskelproxy.so
  libdata/pkgconfig/tokyotyrant.pc
  sbin/ttservctl
 ===> Done
 
 --3lcZGd9BuhuYXNfi--



More information about the freebsd-ports-bugs mailing list