ports/70736: [UPDATE] Enable OPTIONS feature of ports/math/oleo
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Fri Aug 20 17:20:23 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list