From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 30 01:40:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0CFC106566B for ; Fri, 30 Apr 2010 01:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 700568FC14 for ; Fri, 30 Apr 2010 01:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3U1e23E015429 for ; Fri, 30 Apr 2010 01:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3U1e2er015428; Fri, 30 Apr 2010 01:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 30 Apr 2010 01:40:02 GMT Resent-Message-Id: <201004300140.o3U1e2er015428@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBCAD1065670 for ; Fri, 30 Apr 2010 01:32:11 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9338FC17 for ; Fri, 30 Apr 2010 01:32:11 +0000 (UTC) Received: by vws4 with SMTP id 4so1242543vws.13 for ; Thu, 29 Apr 2010 18:32:11 -0700 (PDT) Received: by 10.220.124.101 with SMTP id t37mr7303091vcr.52.1272591130266; Thu, 29 Apr 2010 18:32:10 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id b22sm6628181vcp.20.2010.04.29.18.32.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 18:32:09 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id 16F472AEC5A1; Fri, 30 Apr 2010 09:32:03 +0800 (CST) Message-Id: <20100430013203.16F472AEC5A1@sunpoet.net> Date: Fri, 30 Apr 2010 09:32:03 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/146164: [PATCH] databases/tokyocabinet: fix/alter options, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 01:40:02 -0000 >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 @@ -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: