diff options
author | arved <arved@FreeBSD.org> | 2012-06-11 00:52:40 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2012-06-11 00:52:40 +0800 |
commit | a030b297dc11e7afe591a3e488037d20e6845ded (patch) | |
tree | 9e46363d7a442e3a1fe4966fb3b48a095acffbb0 /textproc/ltxml/Makefile | |
parent | 158cae31d0271ac883c3bb481fd503f58f40d96d (diff) | |
download | freebsd-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/Makefile | 4 |
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 |