summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-03-16 10:28:53 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-03-16 10:28:53 +0000
commitb4aad3a6af6c205dfc8805bb71476f4ec8ad9ae8 (patch)
treef09e9cbbe2288144cd892b96a2ae73c3ce303511 /dns
parentAdd png to depends, this fixes the build on pointyhat. (diff)
- Unbreak for non i86 archs
- No PORTREVISION bump PR: ports/165798 Submitted by: mexas@bristol.ac.uk Approved by: Leo Vandewoestijne <freebsd@dns-lab.com> (maintainer, implicit) Feature safe: yes
Notes
Notes: svn path=/head/; revision=293406
Diffstat (limited to 'dns')
-rw-r--r--dns/knot/Makefile2
-rw-r--r--dns/knot/files/patch-configure15
2 files changed, 15 insertions, 2 deletions
diff --git a/dns/knot/Makefile b/dns/knot/Makefile
index 59d7a164b643..14f3e99dffc0 100644
--- a/dns/knot/Makefile
+++ b/dns/knot/Makefile
@@ -21,8 +21,6 @@ BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
flex>=2.5.35_1:${PORTSDIR}/textproc/flex
LIB_DEPENDS= urcu.1:${PORTSDIR}/sysutils/userspace-rcu
-ONLY_FOR_ARCHS= i386 amd64
-ONLY_FOR_ARCHS_REASON= will not configure. See ports/165798
CONFIGURE_ARGS= --sysconfdir=${ETCDIR}
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
diff --git a/dns/knot/files/patch-configure b/dns/knot/files/patch-configure
new file mode 100644
index 000000000000..0c5b18243044
--- /dev/null
+++ b/dns/knot/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure 2012-03-09 16:01:59.000000000 +0000
++++ configure.new 2012-03-15 16:19:16.000000000 +0000
+@@ -4544,8 +4544,10 @@
+ else
+
+ ax_cv_have_sse2_ext=no
+- if test "$((0x$edx>>26&0x01))" = 1; then
+- ax_cv_have_sse2_ext=yes
++ if test "$ax_cv_gcc_x86_cpuid_0x00000001" != "unknown"; then
++ if test "$((0x$edx>>26&0x01))" = 1; then
++ ax_cv_have_sse2_ext=yes
++ fi
+ fi
+
+ fi