diff options
-rw-r--r-- | multimedia/vlc/Makefile | 2 | ||||
-rw-r--r-- | multimedia/vlc/Makefile.inc | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 10f43a64c13a..565bb6b5bff1 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -10,7 +10,7 @@ PORTNAME= vlc DISTVERSION= 0.8.6c -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \ diff --git a/multimedia/vlc/Makefile.inc b/multimedia/vlc/Makefile.inc index 63e1527d5a7e..56f8db9b5b8f 100644 --- a/multimedia/vlc/Makefile.inc +++ b/multimedia/vlc/Makefile.inc @@ -225,6 +225,18 @@ # Do not install Vlc's Documents # +pre-everything:: +.if exists(${LOCALBASE}/lib/libswscale.so) + @${ECHO_CMD} + @${ECHO_CMD} 'VLC cannot find ffmpeg if it has been built with the software scaler,' + @${ECHO_CMD} 'be sure to not define WITH_SWSCALER to build it.' + @${ECHO_CMD} +.endif + +post-extract: +# remove badly formatted pre-generated messages catalogs + ${FIND} ${WRKSRC} -name "*.gmo" -delete + post-patch: # Subtitle default font @${REINPLACE_CMD} -e \ |