From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 12 21:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C8A05A88 for ; Tue, 12 Mar 2013 21:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AABAEA29 for ; Tue, 12 Mar 2013 21:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2CLo0IA087470 for ; Tue, 12 Mar 2013 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2CLo0pN087469; Tue, 12 Mar 2013 21:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 12 Mar 2013 21:50:00 GMT Resent-Message-Id: <201303122150.r2CLo0pN087469@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, William Grzybowski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 710625BF for ; Tue, 12 Mar 2013 21:41:09 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-gg0-x230.google.com (mail-gg0-x230.google.com [IPv6:2607:f8b0:4002:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5B19BE for ; Tue, 12 Mar 2013 21:41:09 +0000 (UTC) Received: by mail-gg0-f176.google.com with SMTP id q6so72628ggc.7 for ; Tue, 12 Mar 2013 14:41:08 -0700 (PDT) Received: from localhost ([186.212.223.88]) by mx.google.com with ESMTPS id b62sm24959139yhe.24.2013.03.12.14.35.21 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 14:35:22 -0700 (PDT) Message-Id: <513f9f9a.e24cec0a.6c59.1898@mx.google.com> Date: Tue, 12 Mar 2013 14:35:22 -0700 (PDT) From: William Grzybowski To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176895: [PATCH] databases/rrdtool: options ng and trim makefile header X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: William Grzybowski List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 21:50:00 -0000 >Number: 176895 >Category: ports >Synopsis: [PATCH] databases/rrdtool: options ng and trim makefile header >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Mar 12 21:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: William Grzybowski >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: >Description: Convert to Options NG Trim makefile header Redports: https://www.redports.org/buildarchive/20130312140600-36547/ >How-To-Repeat: >Fix: See attached patch --- rrdtool.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 313972) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: rrdtool -# Date created: 20 July 1999 -# Whom: Dmitry Sivachenko -# +# Created by: Dmitry Sivachenko # $FreeBSD$ -# PORTNAME= rrdtool PORTVERSION= 1.4.7 @@ -38,16 +34,16 @@ PORTEXAMPLES= 4charts.pl bigtops.pl cgi-demo.cgi minmax.pl perftest.pl \ piped-demo.pl shared-demo.pl stripes.pl -OPTIONS= DEJAVU "Use DejaVu fonts (requires X11)" off \ - JSON "Support of json export" off \ - MMAP "Use mmap in rrd_update" on \ - PERL_MODULE "Build PERL module" on \ - PYTHON_MODULE "Build PYTHON bindings" off \ - RUBY_MODULE "Build RUBY bindings" off +OPTIONS_DEFINE= DEJAVU JSON MMAP PERL PYTHON RUBY +OPTIONS_DEFAULT= MMAP PERL + +DEJAVU_DESC= Use DejaVu fonts (requires X11) +MMAP_DESC= Use mmap in rrd_update + .include -.if defined(WITH_PYTHON_MODULE) +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes INSTALLS_EGGINFO=yes PYDISTUTILS_EGGINFO=py_rrdtool-0.2.1-${PYTHON_VERSION:S/thon//}.egg-info @@ -59,7 +55,7 @@ PLIST_SUB+= WITH_PYTHON="@comment " .endif -.if defined(WITH_RUBY_MODULE) +.if ${PORT_OPTIONS:MRUBY} USE_RUBY= yes .include "${PORTSDIR}/Mk/bsd.ruby.mk" PLIST_SUB+= WITH_RUBY="" @@ -69,7 +65,7 @@ PLIST_SUB+= WITH_RUBY="@comment " .endif -.if !defined(WITHOUT_PERL_MODULE) +.if ${PORT_OPTIONS:MPERL} USE_PERL5= yes CONFIGURE_ARGS+= --enable-perl --enable-perl-site-install PLIST_SUB+= WITH_PERL="" @@ -78,15 +74,15 @@ PLIST_SUB+= WITH_PERL="@comment " .endif -.if defined(WITHOUT_MMAP) +.if ${PORT_OPTIONS:MMMAP} CONFIGURE_ARGS+= --disable-mmap .endif -.if defined(WITH_JSON) +.if ${PORT_OPTIONS:MJSON} EXTRA_PATCHES+= ${FILESDIR}/thirdparty-json.diff .endif -.if exists(${LOCALBASE}/lib/X11/fonts/dejavu) || defined(WITH_DEJAVU) +.if exists(${LOCALBASE}/lib/X11/fonts/dejavu) || ${PORT_OPTIONS:MDEJAVU} RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu .endif --- rrdtool.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: