From yinjieh@csie.nctu.edu.tw  Fri Aug 20 17:18:49 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 1D64416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Aug 2004 17:18:49 +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 94EE743D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Aug 2004 17:18:48 +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 i7KHIbPO058022
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 01:18:37 +0800 (CST)
Received: (from yinjieh@localhost)
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KHIbWm058021;
	Sat, 21 Aug 2004 01:18:37 +0800 (CST)
Message-Id: <200408201718.i7KHIbWm058021@alumni.csie.nctu.edu.tw>
Date: Sat, 21 Aug 2004 01:18:37 +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/math/oleo
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70736
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/math/oleo
>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 17:20:23 GMT 2004
>Closed-Date:    Fri Aug 20 23:12:36 GMT 2004
>Last-Modified:  Fri Aug 20 23:12:36 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/math/oleo

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- oleo.patch begins here ---
diff -ruN /usr/ports/math/oleo/Makefile oleo/Makefile
--- /usr/ports/math/oleo/Makefile	Sun Aug  1 00:02:02 2004
+++ oleo/Makefile	Fri Aug 20 22:49:06 2004
@@ -26,6 +26,11 @@
 INFO=		oleo
 PORTDOCS=	AUTHORS FAQ
 
+OPTIONS=	MOTIF "Motif support" off \
+		NLS "NLS support" on
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_MOTIF)
 LIB_DEPENDS+=	plot:${PORTSDIR}/graphics/plotutils \
 		Xbae:${PORTSDIR}/x11-toolkits/xbae \
@@ -43,16 +48,6 @@
 .else
 USE_GETTEXT=	yes
 PLIST_SUB=	NLS=""
-.endif
-
-.include <bsd.port.pre.mk>
-
-pre-everything::
-.if !defined(WITH_MOTIF)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you want to compile with Motif support,"
-	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\""
-	@${ECHO_MSG}
 .endif
 
 post-patch:
--- oleo.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Aug 20 23:12:30 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

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