Date: Sat, 21 Aug 2004 01:18:37 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70736: [UPDATE] Enable OPTIONS feature of ports/math/oleo Message-ID: <200408201718.i7KHIbWm058021@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200408201720.i7KHKNQZ039504@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 20 17:20:23 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@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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408201718.i7KHIbWm058021>