diff options
author | lofi <lofi@FreeBSD.org> | 2006-06-27 00:21:35 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2006-06-27 00:21:35 +0800 |
commit | 1d1e7aa7cc106c29a5f897bb40513fd5eb22135f (patch) | |
tree | dcc968f271fce42291452ef7a0a5610d6f6f83fa /multimedia/xvid/Makefile | |
parent | 5ae31a38592fea93f8fd1a7098ad454006a7fb70 (diff) | |
download | freebsd-ports-gnome-1d1e7aa7cc106c29a5f897bb40513fd5eb22135f.tar.gz freebsd-ports-gnome-1d1e7aa7cc106c29a5f897bb40513fd5eb22135f.tar.zst freebsd-ports-gnome-1d1e7aa7cc106c29a5f897bb40513fd5eb22135f.zip |
Convert optimization knob into option.
PR: ports/99294
Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
Diffstat (limited to 'multimedia/xvid/Makefile')
-rw-r--r-- | multimedia/xvid/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile index 122f9f49a28e..715cd82795dd 100644 --- a/multimedia/xvid/Makefile +++ b/multimedia/xvid/Makefile @@ -23,6 +23,10 @@ USE_GCC?= 3.4 WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic +OPTIONS= OPTIMIZED_CFLAGS "Use XviD's default optimizations" off + +.include <bsd.port.pre.mk> + .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS= # let xvid's build system decide about those .endif @@ -30,4 +34,4 @@ CFLAGS= # let xvid's build system decide about those post-install: @ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so -.include <bsd.port.mk> +.include <bsd.port.post.mk> |