For i386, change compiler optimization flags to -O0, as optimizations seem to

break things.

PR:		ports/127017
Submitted by:	annona2@gmail.com
Patch by:	Urankar Mikael <mikael.urankar@ujf-grenoble.fr>
This commit is contained in:
Stefan Walter 2010-05-19 20:16:02 +00:00
parent ef30e305f3
commit 00710e9e84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254614

View File

@ -7,6 +7,7 @@
PORTNAME= ntfsprogs
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/linux-ntfs/NTFS%20Tools%20and%20Library/${PORTVERSION}
@ -36,6 +37,10 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CFLAGS:= ${CFLAGS:C/-O.?/-O0/g}
.endif
.if defined(WITH_GNOMEVFS2)
CONFIGURE_ARGS+=--enable-gnome-vfs
USE_GNOME= gnomevfs2