Date: Fri, 30 Apr 2010 09:32:03 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/146164: [PATCH] databases/tokyocabinet: fix/alter options, take maintainership Message-ID: <20100430013203.16F472AEC5A1@sunpoet.net> Resent-Message-ID: <201004300140.o3U1e2er015428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146164 >Category: ports >Synopsis: [PATCH] databases/tokyocabinet: fix/alter options, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 30 01:40:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.0-STABLE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Mar 19 09:16:38 CST 2010 >Description: Changes: - Re-enable OFF64 option. - Add missing SHARED option. - Add UBC option. - Alter options. Let WITH_xxx enable the feature and WITHOUT_xxx disable the feature. - Sort options. - Take maintainership Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tokyocabinet-1.4.44.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/tokyocabinet/Makefile /usr/ports/sunpoet/tokyocabinet/Makefile --- /usr/ports/databases/tokyocabinet/Makefile 2010-04-30 08:37:42.000000000 +0800 +++ /usr/ports/sunpoet/tokyocabinet/Makefile 2010-04-30 09:12:04.000000000 +0800 @@ -10,12 +10,11 @@ CATEGORIES= databases MASTER_SITES= http://1978th.net/tokyocabinet/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@sunpoet.net COMMENT= A modern implementation of DBM MAKE_JOBS_SAFE= yes -CONFIGURE_ARGS= --enable-off64 GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes @@ -32,16 +31,18 @@ tcmdb.3 tcmpool.3 tcutil.3 tcxstr.3 tokyocabinet.3 tctree.3 \ tctdb.3 -OPTIONS= DEBUG "Debugging support" off \ +OPTIONS= BZIP2 "BZIP2 compression" on \ + DEBUG "Debugging support" off \ DEVEL "Development build" off \ - PROFILE "Profiling build" off \ - OFF64 "Use to compile on 64-bit system" off \ FASTEST "Fastest run" off \ + OFF64 "Use to compile on 64-bit system" off \ + PTHREAD "POSIX thread support" on \ + PROFILE "Profiling build" off \ + SHARED "Shared build" on \ SWAB "Swapping byte-orders build" off \ + UBC "Unified buffer cache assumption" on \ UYIELD "Detecting race conditions" off \ - ZLIB "Disable ZLIB compression" off \ - BZIP2 "BZIP2 compression" on \ - PTHREAD "Disable POSIX thread support" off + ZLIB "ZLIB compression" on .include <bsd.port.pre.mk> @@ -49,39 +50,42 @@ PORTDOCS= * .endif +.if defined(WITHOUT_BZIP2) +CONFIGURE_ARGS+= --disable-bzip +.endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .if defined(WITH_DEVEL) CONFIGURE_ARGS+= --enable-devel .endif -.if defined(WITH_PROFILE) -CONFIGURE_ARGS+= --enable-profile +.if defined(WITH_FASTEST) +CONFIGURE_ARGS+= --enable-fastest .endif .if defined(WITH_OFF64) CONFIGURE_ARGS+= --enable-off64 .endif -.if defined(WITH_FASTEST) -CONFIGURE_ARGS+= --enable-fastest +.if defined(WITHOUT_PTHREAD) +CONFIGURE_ARGS+= --disable-pthread +.endif +.if defined(WITH_PROFILE) +CONFIGURE_ARGS+= --enable-profile +.endif +.if defined(WITHOUT_SHARED) +CONFIGURE_ARGS+= --disable-shared .endif .if defined(WITH_SWAB) CONFIGURE_ARGS+= --enable-swab .endif +.if defined(WITHOUT_UBC) +CONFIGURE_ARGS+= --disable-ubc +.endif .if defined(WITH_UYIELD) CONFIGURE_ARGS+= --enable-uyield .endif -.if defined(WITH_ZLIB) +.if defined(WITHOUT_ZLIB) CONFIGURE_ARGS+= --disable-zlib .endif -.if defined(WITHOUT_BZIP2) -CONFIGURE_ARGS+= --disable-bzip -.endif -.if defined(WITH_PTHREAD) -CONFIGURE_ARGS+= --disable-pthread -.endif -.if defined(WITH_SHARED) -CONFIGURE_ARGS+= --disable-shared -.endif SHLIB_VER= 9.7.0 SHLIB_VER_MAJ= 9 --- tokyocabinet-1.4.44.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100430013203.16F472AEC5A1>