From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 20 17:30:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEECD164 for ; Tue, 20 Nov 2012 17:30: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 787188FC19 for ; Tue, 20 Nov 2012 17:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAKHU0s8025181 for ; Tue, 20 Nov 2012 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAKHU07u025180; Tue, 20 Nov 2012 17:30:00 GMT (envelope-from gnats) Resent-Date: Tue, 20 Nov 2012 17:30:00 GMT Resent-Message-Id: <201211201730.qAKHU07u025180@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, "Edward" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 417F8EBF for ; Tue, 20 Nov 2012 17:24:52 +0000 (UTC) (envelope-from edward@rdtan.net) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4618FC12 for ; Tue, 20 Nov 2012 17:24:51 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kp6so4559092pab.13 for ; Tue, 20 Nov 2012 09:24:50 -0800 (PST) Received: by 10.68.235.208 with SMTP id uo16mr44301595pbc.65.1353432290658; Tue, 20 Nov 2012 09:24:50 -0800 (PST) Received: from rdtan.net ([175.136.49.137]) by mx.google.com with ESMTPS id a10sm8364076paz.35.2012.11.20.09.24.44 (version=SSLv3 cipher=OTHER); Tue, 20 Nov 2012 09:24:47 -0800 (PST) Received: by rdtan.net (sSMTP sendmail emulation); Wed, 21 Nov 2012 01:24:42 +0800 Message-Id: <50abbcdf.aa54420a.739e.ffff8d26@mx.google.com> Date: Wed, 21 Nov 2012 01:24:42 +0800 From: "Edward" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173740: [PATCH] devel/libevent2: OPTIONSNG & trim Makefile header Cc: edward@rdtan.net, mm@FreeBSD.org 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: Tue, 20 Nov 2012 17:30:00 -0000 >Number: 173740 >Category: ports >Synopsis: [PATCH] devel/libevent2: OPTIONSNG & trim Makefile header >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: Tue Nov 20 17:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Edward >Release: FreeBSD 8.3-RELEASE amd64 >Organization: >Environment: System: FreeBSD optionsng 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC >Description: - Update to use OPTIONSNG - Trim Makefile header Additionally, removed "CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" in Makefile to make portlint happy. Previously, portlint was complaining about: FATAL: Makefile: LDFLAGS is already passed in CONFIGURE_ENV via bsd.port.mk. If you need to override the default value, alter LDFLAGS in the Makefile instead with LDFLAGS+=... Port maintainer (mm@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: begin 644 libevent2-2.0.20.patch --- Makefile.original 2012-11-18 12:18:01.000000000 +0800 +++ Makefile 2012-11-21 01:19:38.000000000 +0800 @@ -1,9 +1,5 @@ -# New ports collection makefile for: libevent2 -# Date created: 22 February 2011 -# Whom: Martin Matuska -# -# $FreeBSD: ports/devel/libevent2/Makefile,v 1.14 2012/10/26 11:11:17 bapt Exp $ -# +# Created by: Martin Matuska +# $FreeBSD$ PORTNAME= libevent2 DISTVERSION= 2.0.20 @@ -19,17 +15,19 @@ USE_GNOME= lthack GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" USE_LDCONFIG= ${PREFIX}/lib/event2 -OPTIONS= OPENSSL "Enable OpenSSL support" on \ - THREADS "Enable threads support" on +OPTIONS_DEFINE= THREADS OPENSSL +OPTIONS_DEFAULT= THREADS OPENSSL + +THREADS_DESC= Enable threads support +OPENSSL_DESC= Enable OpenSSL support CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/event2 .include -.if !defined(WITH_OPENSSL) +.if !${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --disable-openssl PLIST_SUB+= OPENSSL="@comment " .else @@ -41,7 +39,7 @@ .include -.if !defined(WITH_THREADS) +.if !${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --disable-thread-support PLIST_SUB+= THREADS="@comment " .else end >Release-Note: >Audit-Trail: >Unformatted: