From yinjieh@csie.nctu.edu.tw  Fri Aug 20 15:18:13 2004
Return-Path: <yinjieh@csie.nctu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E2FA816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Aug 2004 15:18:13 +0000 (GMT)
Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 64D8243D53
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Aug 2004 15:18:13 +0000 (GMT)
	(envelope-from yinjieh@csie.nctu.edu.tw)
Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1])
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.9) with ESMTP id i7KFI3wf054028
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Aug 2004 23:18:03 +0800 (CST)
Received: (from yinjieh@localhost)
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KFI3pd054027;
	Fri, 20 Aug 2004 23:18:03 +0800 (CST)
Message-Id: <200408201518.i7KFI3pd054027@alumni.csie.nctu.edu.tw>
Date: Fri, 20 Aug 2004 23:18:03 +0800 (CST)
From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Reply-To: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [UPDATE] Enable OPTIONS feature of ports/textproc/ltxml
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:20:21 GMT 2004
>Closed-Date:    Fri Aug 20 22:26:01 GMT 2004
>Last-Modified:  Fri Aug 20 22:26:01 GMT 2004
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Aug 20 22:25:54 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70722 
>Unformatted:
