diff options
author | pav <pav@FreeBSD.org> | 2004-08-21 06:25:47 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-21 06:25:47 +0800 |
commit | 550b7f00e3c87ab19ea1b43c822828ac2fe6fd62 (patch) | |
tree | b1362c2c22219b96c91bfa429981ff2e941702a2 /textproc/ltxml | |
parent | 98ef786067230fa25661a421bc2a6771ac4d6e97 (diff) | |
download | freebsd-ports-gnome-550b7f00e3c87ab19ea1b43c822828ac2fe6fd62.tar.gz freebsd-ports-gnome-550b7f00e3c87ab19ea1b43c822828ac2fe6fd62.tar.zst freebsd-ports-gnome-550b7f00e3c87ab19ea1b43c822828ac2fe6fd62.zip |
- Convert to OPTIONS
PR: ports/70722
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'textproc/ltxml')
-rw-r--r-- | textproc/ltxml/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile index 1fa7c1397b06..6cc346dce9da 100644 --- a/textproc/ltxml/Makefile +++ b/textproc/ltxml/Makefile @@ -30,18 +30,14 @@ PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \ sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \ textonly unknit xmlnorm +OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off + .include <bsd.port.pre.mk> + .ifdef WITH_OPTIMIZED_CFLAGS CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3 .endif -pre-everything:: -.ifndef(WITH_OPTIMIZED_CFLAGS) - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS' - @${ECHO_MSG} "===> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" -.endif - post-install: .for file in ${PROGRAMS:S/sgmlseg//} ${STRIP_CMD} ${PREFIX}/bin/${file} |