aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xvid/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2006-06-27 00:21:35 +0800
committerlofi <lofi@FreeBSD.org>2006-06-27 00:21:35 +0800
commit1d1e7aa7cc106c29a5f897bb40513fd5eb22135f (patch)
treedcc968f271fce42291452ef7a0a5610d6f6f83fa /multimedia/xvid/Makefile
parent5ae31a38592fea93f8fd1a7098ad454006a7fb70 (diff)
downloadfreebsd-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/Makefile6
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>