diff options
-rw-r--r-- | dns/knot/Makefile | 12 | ||||
-rw-r--r-- | dns/knot/files/extrapatch-configure | 42 | ||||
-rw-r--r-- | dns/knot/pkg-descr | 2 | ||||
-rw-r--r-- | dns/knot/pkg-plist | 1 |
4 files changed, 4 insertions, 53 deletions
diff --git a/dns/knot/Makefile b/dns/knot/Makefile index 20414ec25c99..8af2636aae84 100644 --- a/dns/knot/Makefile +++ b/dns/knot/Makefile @@ -1,10 +1,8 @@ -# Created by: Leo Vandewoestijne <freebsd@dns-lab.com> +# Created by: Leo Vandewoestijne <freebsd@dns-lab.com> # $FreeBSD$ PORTNAME= knot -PORTVERSION= 1.1.3.r1 DISTVERSION= 1.1.3-rc1 - CATEGORIES= dns ipv6 MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ http://www.dns-lab.com/downloads/knot-dns/ @@ -16,11 +14,7 @@ LICENSE= GPLv3 BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \ flex>=2.5.35_1:${PORTSDIR}/textproc/flex -LIB_DEPENDS= urcu.1:${PORTSDIR}/sysutils/userspace-rcu - -.if ${CC} == "clang" -EXTRA_PATCHES+= ${FILESDIR}/extrapatch-configure -.endif +LIB_DEPENDS= urcu:${PORTSDIR}/sysutils/userspace-rcu CONFIGURE_ARGS= --sysconfdir=${ETCDIR} GNU_CONFIGURE= yes @@ -39,7 +33,7 @@ MAN5= knot.conf.5 INFO= knot -PORTDOCS= AUTHORS ChangeLog CodingStyle COPYING \ +PORTDOCS= AUTHORS ChangeLog CodingStyle \ INSTALL KNOWN_ISSUES NEWS README RELNOTES post-install: diff --git a/dns/knot/files/extrapatch-configure b/dns/knot/files/extrapatch-configure deleted file mode 100644 index 0d16fcdfa7b7..000000000000 --- a/dns/knot/files/extrapatch-configure +++ /dev/null @@ -1,42 +0,0 @@ ---- ./configure.orig 2012-05-17 18:19:19.000000000 +0900 -+++ ./configure 2012-05-17 21:40:12.000000000 +0900 -@@ -13237,38 +13237,7 @@ - fi - - --# Check for link time optimizations support and predictive commoning -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-flto\"" >&5 --$as_echo_n "checking whether C compiler accepts \"-flto\"... " >&6; } --ax_save_FLAGS=$CFLAGS -- CFLAGS=""-flto"" -- cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- --int --main () --{ -- -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_compile "$LINENO"; then : -- eval `$as_echo "ax_cv_c_flags_"-flto"" | $as_tr_sh`=yes --else -- eval `$as_echo "ax_cv_c_flags_"-flto"" | $as_tr_sh`=no --fi --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- CFLAGS=$ax_save_FLAGS --eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_"-flto"" | $as_tr_sh` --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 --$as_echo "$ax_check_compiler_flags" >&6; } --if test "x$ax_check_compiler_flags" = xyes; then -- CFLAGS="$CFLAGS -flto" --else -- : --fi -- -+# Check for predictive commoning - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-fpredictive-commoning\"" >&5 - $as_echo_n "checking whether C compiler accepts \"-fpredictive-commoning\"... " >&6; } - ax_save_FLAGS=$CFLAGS diff --git a/dns/knot/pkg-descr b/dns/knot/pkg-descr index e7fc9d369906..68dc6c2f15b1 100644 --- a/dns/knot/pkg-descr +++ b/dns/knot/pkg-descr @@ -17,4 +17,4 @@ Key features: - NSID -WWW: http://www.knot-dns.cz/ +WWW: http://www.knot-dns.cz/ diff --git a/dns/knot/pkg-plist b/dns/knot/pkg-plist index 84ec9bd1232b..e7b3a965b6dd 100644 --- a/dns/knot/pkg-plist +++ b/dns/knot/pkg-plist @@ -1,4 +1,3 @@ -@comment $FreeBSD$ @stopdaemon knotd %%ETCDIR%%/example.com.zone @unexec if cmp -s %B/knot.min.conf %B/knot.conf; then rm -f %B/knot.conf; fi |