From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 23 12:44:01 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 AE4A116A4CE for ; Thu, 23 Nov 2006 12:44:01 +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 F33BB44030 for ; Thu, 23 Nov 2006 12:39:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kANCeMZD091076 for ; Thu, 23 Nov 2006 12:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kANCeMIt091075; Thu, 23 Nov 2006 12:40:22 GMT (envelope-from gnats) Resent-Date: Thu, 23 Nov 2006 12:40:22 GMT Resent-Message-Id: <200611231240.kANCeMIt091075@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, Sten Spans Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FDE116A47C for ; Thu, 23 Nov 2006 12:34:05 +0000 (UTC) (envelope-from sten@mx0.blinkenlights.nl) Received: from mx0.blinkenlights.nl (mx0.blinkenlights.nl [89.188.0.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4832D43E08 for ; Thu, 23 Nov 2006 12:28:32 +0000 (GMT) (envelope-from sten@mx0.blinkenlights.nl) Received: by mx0.blinkenlights.nl (Postfix, from userid 101) id 9F2C173050; Thu, 23 Nov 2006 13:29:05 +0100 (CET) Message-Id: <20061123122905.9F2C173050@mx0.blinkenlights.nl> Date: Thu, 23 Nov 2006 13:29:05 +0100 (CET) From: Sten Spans To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/105783: Update port: dns/powerdns-recursor add BUILD_STATIC knob X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sten Spans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 12:44:01 -0000 >Number: 105783 >Category: ports >Synopsis: Update port: dns/powerdns-recursor add BUILD_STATIC knob >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 23 12:40:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sten Spans >Release: FreeBSD 6.1-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD earth.blinkenlights.nl 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Sun Sep 24 14:42:21 CEST 2006 root@earth.blinkenlights.nl:/usr/obj/usr/src/sys/1650 i386 >Description: Add knob for static/semi-static compilation of pdns_recursor. This enables functionality supplied by the author's makefile. >How-To-Repeat: >Fix: --- Makefile.orig Sat Nov 18 16:25:59 2006 +++ Makefile Thu Nov 23 13:09:22 2006 @@ -7,7 +7,7 @@ PORTNAME= powerdns-recursor PORTVERSION= 3.1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ \ http://mirrors.evolva.ro/powerdns.com/releases/ @@ -32,6 +32,12 @@ .include USE_RC_SUBR+= pdns-recursor + +.if defined(BUILD_STATIC) && ${BUILD_STATIC} == "semi" +MAKE_ENV+=STATIC=semi +.elif defined(BUILD_STATIC) +MAKE_ENV+=STATIC=full +.endif .if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000 UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ >Release-Note: >Audit-Trail: >Unformatted: