aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xvid
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-06-25 07:56:34 +0800
committerlofi <lofi@FreeBSD.org>2004-06-25 07:56:34 +0800
commit1751baa57fed383bbb992e916cf0008a3477ab63 (patch)
tree597596652564d5c15d9b4a04e55c07eb24731e94 /multimedia/xvid
parentc11c639d8150e7023b7959599ce6ae39bb617af4 (diff)
downloadfreebsd-ports-gnome-1751baa57fed383bbb992e916cf0008a3477ab63.tar.gz
freebsd-ports-gnome-1751baa57fed383bbb992e916cf0008a3477ab63.tar.zst
freebsd-ports-gnome-1751baa57fed383bbb992e916cf0008a3477ab63.zip
Add WITH_OPTIMIZED_CFLAGS knob which will allow xvid to choose
CFLAGS from its own (quite large) set of defaults for various compilers and platforms.
Diffstat (limited to 'multimedia/xvid')
-rw-r--r--multimedia/xvid/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile
index eb660692b9f0..7153c2eda0ee 100644
--- a/multimedia/xvid/Makefile
+++ b/multimedia/xvid/Makefile
@@ -24,6 +24,10 @@ USE_GCC= 3.3
WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS= # let xvid's build system decide about those
+.endif
+
post-install:
@ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so