Convert to new optionsframework

This commit is contained in:
Tilman Keskinoz 2012-06-10 16:52:40 +00:00
parent f8bb265ad3
commit 1527519a8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298962

View file

@ -17,7 +17,7 @@ COMMENT= XML Toolkit
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING
OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
WRKSRC= ${WRKDIR}/${DISTNAME}/XML
@ -29,7 +29,7 @@ MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
.if defined(WITH_OPTIMIZED_CFLAGS)
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
.endif