diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-10 18:10:21 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-10 18:10:21 +0000 |
commit | 4cadc038c126ac5d691c460a0a8db6e0a099c97d (patch) | |
tree | d9cafa091384cb8b2c900d190c006252ce430cd7 /dns | |
parent | - Fix plist (diff) |
- Fix typo
- Mark BROKEN for FreeBSD 4
Notes
Notes:
svn path=/head/; revision=181989
Diffstat (limited to 'dns')
-rw-r--r-- | dns/powerdns-recursor/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
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 |