aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ltxml/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2012-06-11 00:52:40 +0800
committerarved <arved@FreeBSD.org>2012-06-11 00:52:40 +0800
commita030b297dc11e7afe591a3e488037d20e6845ded (patch)
tree9e46363d7a442e3a1fe4966fb3b48a095acffbb0 /textproc/ltxml/Makefile
parent158cae31d0271ac883c3bb481fd503f58f40d96d (diff)
downloadfreebsd-ports-gnome-a030b297dc11e7afe591a3e488037d20e6845ded.tar.gz
freebsd-ports-gnome-a030b297dc11e7afe591a3e488037d20e6845ded.tar.zst
freebsd-ports-gnome-a030b297dc11e7afe591a3e488037d20e6845ded.zip
Convert to new optionsframework
Diffstat (limited to 'textproc/ltxml/Makefile')
-rw-r--r--textproc/ltxml/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile
index 4ea109a6d462..940799766d0b 100644
--- a/textproc/ltxml/Makefile
+++ b/textproc/ltxml/Makefile
@@ -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