From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 8 18:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F919C8C for ; Wed, 8 May 2013 18:40:01 +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 8293E620 for ; Wed, 8 May 2013 18:40:01 +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 r48Ie1Sh056842 for ; Wed, 8 May 2013 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r48Ie1eX056841; Wed, 8 May 2013 18:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 8 May 2013 18:40:01 GMT Resent-Message-Id: <201305081840.r48Ie1eX056841@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, "Ilya A. Arkhipov" Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AB179B12 for ; Wed, 8 May 2013 18:38:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9E01960F for ; Wed, 8 May 2013 18:38:27 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r48IcR2w027741 for ; Wed, 8 May 2013 18:38:27 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r48IcRCq027740; Wed, 8 May 2013 18:38:27 GMT (envelope-from nobody) Message-Id: <201305081838.r48IcRCq027740@oldred.FreeBSD.org> Date: Wed, 8 May 2013 18:38:27 GMT From: "Ilya A. Arkhipov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178424: [sysutils/rsyslog5] patch for moving to optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 18:40:01 -0000 >Number: 178424 >Category: ports >Synopsis: [sysutils/rsyslog5] patch for moving to optionsng >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: Wed May 08 18:40:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ilya A. Arkhipov >Release: 10.0-CURRENT >Organization: Rambler >Environment: FreeBSD mhome 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Mar 29 18:04:50 UTC 2012 root@mhome:/usr/obj/usr/src/sys/MICROKERNEL amd64 >Description: [sysutils/rsyslog5] patch for moving to optionsng >How-To-Repeat: install it ^_^ >Fix: diff -Nru rsyslog5_old/Makefile rsyslog5/Makefile --- rsyslog5_old/Makefile 2013-05-07 20:43:36.157707306 +0400 +++ rsyslog5/Makefile 2013-05-07 20:48:18.367707321 +0400 @@ -40,13 +40,15 @@ GNU_CONFIGURE= yes USES= pkgconfig -OPTIONS= DEBUG "Enable debugging" off +OPTIONS_DEFINE= DEBUG +DEBUG_DESC= Enable debugging -.ifdef WITH_DEBUG +.include + +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-rtinst --enable-debug .endif -.include .if ${ARCH} == "i386" CPPFLAGS+=-march=i686 .endif Patch attached with submission follows: diff -Nru rsyslog5_old/Makefile rsyslog5/Makefile --- rsyslog5_old/Makefile 2013-05-07 20:43:36.157707306 +0400 +++ rsyslog5/Makefile 2013-05-07 20:48:18.367707321 +0400 @@ -40,13 +40,15 @@ GNU_CONFIGURE= yes USES= pkgconfig -OPTIONS= DEBUG "Enable debugging" off +OPTIONS_DEFINE= DEBUG +DEBUG_DESC= Enable debugging -.ifdef WITH_DEBUG +.include + +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-rtinst --enable-debug .endif -.include .if ${ARCH} == "i386" CPPFLAGS+=-march=i686 .endif >Release-Note: >Audit-Trail: >Unformatted: