ports/70722: [UPDATE] Enable OPTIONS feature of ports/textproc/ltxml

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:20:42 UTC 2004


>Number:         70722
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/textproc/ltxml
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:20:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan at ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/textproc/ltxml

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- ltxml.patch begins here ---
diff -ruN /usr/ports/textproc/ltxml/Makefile ltxml/Makefile
--- /usr/ports/textproc/ltxml/Makefile	Sun Aug  1 00:05:40 2004
+++ ltxml/Makefile	Fri Aug 20 20:21:02 2004
@@ -30,16 +30,11 @@
 		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:
--- ltxml.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list