aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libfame/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-28 13:10:27 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-28 13:10:27 +0000
commit873083e14b2ab3f6a936f24e93c5c516570df766 (patch)
treeb78576b3f74ad342688063e1c2f596a4f743bde4 /multimedia/libfame/Makefile
parent52d7b3a13876a61ba8e37502b262028447f31ad8 (diff)
downloadports-873083e14b2ab3f6a936f24e93c5c516570df766.tar.gz
ports-873083e14b2ab3f6a936f24e93c5c516570df766.zip
Notes
Diffstat (limited to 'multimedia/libfame/Makefile')
-rw-r--r--multimedia/libfame/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/libfame/Makefile b/multimedia/libfame/Makefile
index 0feffb05d59b..0d45dac33ca1 100644
--- a/multimedia/libfame/Makefile
+++ b/multimedia/libfame/Makefile
@@ -18,10 +18,29 @@ COMMENT= A video encoding library
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+.if !defined(WITH_SSE)
+CONFIGURE_ARGS+= --enable-sse
+.endif
+
+.if defined(WITHOUT_MMX)
+CONFIGURE_ARGS+= --disable-mmx
+.endif
+
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
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(WITHOUT_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>