diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/knot/Makefile | 2 | ||||
-rw-r--r-- | dns/knot/files/patch-configure | 15 |
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 |