1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

- 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
This commit is contained in:
Michael Scheidell 2012-03-16 10:28:53 +00:00
parent 8688a5a635
commit b4aad3a6af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293406
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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