ports/70726: [UPDATE] Enable OPTIONS feature of ports/multimedia/libfame
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:40:15 UTC 2004
>Number: 70726
>Category: ports
>Synopsis: [UPDATE] Enable OPTIONS feature of ports/multimedia/libfame
>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:40:15 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/multimedia/libfame
>How-To-Repeat:
Apply the patch.
>Fix:
<how to correct or work around the problem, if known (multiple lines>
--- libfame.patch begins here ---
diff -ruN /usr/ports/multimedia/libfame/Makefile libfame/Makefile
--- /usr/ports/multimedia/libfame/Makefile Sun Aug 1 00:02:37 2004
+++ libfame/Makefile Fri Aug 20 20:05:08 2004
@@ -18,6 +18,11 @@
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
+OPTIONS= SSE "SSE optimized routines" off \
+ MMX "MMX optimized routines" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_SSE)
CONFIGURE_ARGS+= --enable-sse
.endif
@@ -32,15 +37,4 @@
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
fame_start_frame.3 fame_end_frame.3
-pre-everything::
-.if !defined(WITH_SSE)
- @${ECHO_MSG} " You can enable SSE optimized routines by defining WITH_SSE."
- @${ECHO_MSG} ""
-.endif
-
-.if !defined(WITHOUT_MMX)
- @${ECHO_MSG} " You can disable MMX optimized routines by defining WITHOUT_MMX."
- @${ECHO_MSG} ""
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- libfame.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list