diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-30 20:38:59 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-30 20:38:59 +0800 |
commit | 78b607c5e49d03c2d2ca58c63ed29cab25abb2ee (patch) | |
tree | 7baaa20543fd03210214856c3195211a1640b600 /multimedia/libfame | |
parent | 2ce77a0322ccfd3aa5810625f3bdf4d27eadbd2a (diff) | |
download | freebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.tar.gz freebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.tar.zst freebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.zip |
Convert to new options framework
Diffstat (limited to 'multimedia/libfame')
-rw-r--r-- | multimedia/libfame/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/multimedia/libfame/Makefile b/multimedia/libfame/Makefile index c1bb7bfbf045..89a765c2acec 100644 --- a/multimedia/libfame/Makefile +++ b/multimedia/libfame/Makefile @@ -23,16 +23,18 @@ 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 -OPTIONS= SSE "SSE optimized routines (no effect in this release)" off \ - MMX "MMX optimized routines" on +OPTIONS_DEFINE= SSE MMX +OPTIONS_DEFAULT= MMX -.include <bsd.port.pre.mk> +SSE_DESC= "SSE optimized routines (no effect in this release)" -.if defined(WITH_SSE) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MSSE} CONFIGURE_ARGS+= --enable-sse .endif -.if defined(WITHOUT_MMX) +.if empty(PORT_OPTIONS:MMMX) CONFIGURE_ARGS+= --disable-mmx .endif @@ -43,4 +45,4 @@ post-patch: -e 's|AC_DEFUN(AM_PATH_LIBFAME|AC_DEFUN([AM_PATH_LIBFAME]|g' \ ${WRKSRC}/libfame.m4 ${WRKSRC}/libfame.m4.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> |