summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:25:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:25:47 +0000
commite4df15d64b051fde7822d1b85508afcd9d6bd313 (patch)
tree9a3d0ab4b7188175d4225fb668c47af33154fbb6 /textproc
parent- Convert to OPTIONS (diff)
- Convert to OPTIONS
PR: ports/70722 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=116850
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ltxml/Makefile10
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}