aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-03-16 18:28:53 +0800
committerscheidell <scheidell@FreeBSD.org>2012-03-16 18:28:53 +0800
commit618d0a22906e2a14c8ece3917f879d7e22838e4c (patch)
tree46c2c0ea7dd075d772d696557a8ff4fc798e7520 /dns
parentc3bbd4973482e43cc6970bfb838a1061e27f0402 (diff)
downloadfreebsd-ports-gnome-618d0a22906e2a14c8ece3917f879d7e22838e4c.tar.gz
freebsd-ports-gnome-618d0a22906e2a14c8ece3917f879d7e22838e4c.tar.zst
freebsd-ports-gnome-618d0a22906e2a14c8ece3917f879d7e22838e4c.zip
- 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
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