diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-09-03 05:09:15 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-09-03 05:09:15 +0800 |
commit | 784afa989706d7b62757a8fc4fa03e600bfaf8db (patch) | |
tree | 5ec925ac506cd478ce7e4be6f6f2a73104274633 /x11-toolkits/gtk20 | |
parent | 9f2ba39aacceebcff6ed688232cd30f462877d4e (diff) | |
download | marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar.gz marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar.bz2 marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar.lz marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar.xz marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.tar.zst marcuscom-ports-784afa989706d7b62757a8fc4fa03e600bfaf8db.zip |
There is a SSE2 bug in either GCC or in our libc, when use p4, p-m or else
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.
Reported by: Panagiotis Astithas <past@ebs.gr>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4681 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 6abccb38c..5c7fde1eb 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -3,11 +3,12 @@ # Whom: Vanilla I. Shu <vanilla@MinJe.com.TW> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.69 2005/08/25 16:28:44 marcus Exp $ +# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.70 2005/08/29 20:02:11 marcus Exp $ # PORTNAME= gtk PORTVERSION= 2.8.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.8,} \ ftp://ftp.gtk.org/pub/gtk/v2.8/ \ @@ -73,6 +74,16 @@ STRIP= .endif .endif +.include <bsd.port.pre.mk> + +# There is a SSE2 bug in either GCC or in our libc, when use p4, p-m or else +# 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" +CFLAGS+= -mno-sse2 +.endif + pre-everything:: #.if !defined(WITH_DROPSHADOW) # @${ECHO_MSG} @@ -108,4 +119,4 @@ post-install: @${MKDIR} ${PREFIX}/lib/gtk-2.0/modules @${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines -.include <bsd.port.mk> +.include <bsd.port.post.mk> |