summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-23 13:20:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-23 13:20:26 +0000
commit69d78fca9bcc2036376edc2a1dac2659daafec51 (patch)
treed79d37a345da4c98d35be546ec94d5d9d15ac2e4 /dns
parent- Update to 1.1.2 (diff)
- Add BUILD_STATIC knob
PR: 105783 Submitted by: Sten Spans (sten@mx0.blinkenlights.nl) maintainer
Notes
Notes: svn path=/head/; revision=177900
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns-recursor/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 1aebb82056de..ca494d3a4466 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -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/
@@ -33,6 +33,12 @@ SUB_FILES= pkg-message
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" }' \
/usr/include/ucontext.h