ports/105783: Update port: dns/powerdns-recursor add BUILD_STATIC knob
Sten Spans
sten at blinkenlights.nl
Thu Nov 23 12:44:01 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list