From 4cadc038c126ac5d691c460a0a8db6e0a099c97d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 10 Jan 2007 18:10:21 +0000 Subject: - Fix typo - Mark BROKEN for FreeBSD 4 --- dns/powerdns-recursor/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'dns') diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index ca494d3a4466..e52695c59ccc 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -20,6 +20,9 @@ BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost USE_BZIP2= yes USE_GMAKE= yes +USE_GCC= 3.4 + +OPTIONS= STATIC "Enable Full STATIC" off CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -33,10 +36,16 @@ SUB_FILES= pkg-message USE_RC_SUBR+= pdns-recursor -.if defined(BUILD_STATIC) && ${BUILD_STATIC} == "semi" -MAKE_ENV+=STATIC=semi -.elif defined(BUILD_STATIC) +.if defined(WITH_STATIC) MAKE_ENV+=STATIC=full +PLIST_SUB+= STATIC="@comment " +.else +MAKE_ENV+=STATIC=semi +PLIST_SUB+= STATIC="" +.endif + +.if ${OSVERSION} < 500000 +BROKEN= Does not compile on 4.x .endif .if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000 -- cgit v1.2.3