Date: Thu, 23 Nov 2006 13:29:05 +0100 (CET) From: Sten Spans <sten@blinkenlights.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/105783: Update port: dns/powerdns-recursor add BUILD_STATIC knob Message-ID: <20061123122905.9F2C173050@mx0.blinkenlights.nl> Resent-Message-ID: <200611231240.kANCeMIt091075@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061123122905.9F2C173050>