aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2005-09-03 02:38:12 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2005-09-03 02:38:12 +0000
commit2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65 (patch)
tree07936e23fe5009b498e83efd18e1af090245bea3 /x11-toolkits
parentf4f6f48f44acb9a5a468b98a655309a091f4b5be (diff)
downloadports-2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65.tar.gz
ports-2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk20/Makefile3
-rw-r--r--x11-toolkits/gtk30/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index a02f9ce8f997..3001ebcaaaad 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -78,7 +78,8 @@ STRIP=
# is being use in CPUTYPE that enable SSE2 will causing Java with GTK2 and
# Mono/gtk-sharp crash. Disable SSE2 to solve the crash and see ports/72014
# for detail.
-.if ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) && ${CC} != "icc"
+.if ${OSVERSION} >= 500000 && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) \
+ && ${CC} != "icc"
CFLAGS+= -mno-sse2
.endif
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index a02f9ce8f997..3001ebcaaaad 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -78,7 +78,8 @@ STRIP=
# is being use in CPUTYPE that enable SSE2 will causing Java with GTK2 and
# Mono/gtk-sharp crash. Disable SSE2 to solve the crash and see ports/72014
# for detail.
-.if ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) && ${CC} != "icc"
+.if ${OSVERSION} >= 500000 && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) \
+ && ${CC} != "icc"
CFLAGS+= -mno-sse2
.endif