diff options
author | ahze <ahze@FreeBSD.org> | 2005-01-22 08:18:25 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-01-22 08:18:25 +0800 |
commit | ff9c57345721ecd7f71bba4db5846085aebece3c (patch) | |
tree | 3b09db7e4c6e76a8d7559ac9d77f66e7d54b8aef /multimedia | |
parent | ba2328ae5743a40db04cd781a89bc874624744e9 (diff) | |
download | freebsd-ports-gnome-ff9c57345721ecd7f71bba4db5846085aebece3c.tar.gz freebsd-ports-gnome-ff9c57345721ecd7f71bba4db5846085aebece3c.tar.zst freebsd-ports-gnome-ff9c57345721ecd7f71bba4db5846085aebece3c.zip |
Disable lame support unless WITH_LAME is defined since lame can not be packaged.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vlc-devel/Makefile | 8 | ||||
-rw-r--r-- | multimedia/vlc/Makefile | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile index da4307be9447..b3c11f73f4d2 100644 --- a/multimedia/vlc-devel/Makefile +++ b/multimedia/vlc-devel/Makefile @@ -51,7 +51,7 @@ # WITHOUT_FLAC=yes # Flac Support # -# WITHOUT_LAME=yes +# WITH_LAME=yes # Mp3 encoder Support # # WITHOUT_LIBA52=yes @@ -281,6 +281,10 @@ WITH_FRIBIDI= yes WITH_GGI= yes .endif +.if exists(${LOCALBASE}/lib/libmp3lame.a) && !defined(WITHOUT_LAME) +WITH_LAME= yes +.endif + .if exists(${LOCALBASE}/lib/libtheora.so.1) && !defined(WITHOUT_LIBTHEORA) WITH_LIBTHEORA= yes .endif @@ -481,7 +485,7 @@ CONFIGURE_ARGS+=--enable-ggi CONFIGURE_ARGS+=--disable-ggi .endif -.if !defined(WITHOUT_LAME) +.if defined(WITH_LAME) && !defined(WITHOUT_LAME) LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame CONFIGURE_ARGS+=--enable-mp3lame .else diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index da4307be9447..b3c11f73f4d2 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -51,7 +51,7 @@ # WITHOUT_FLAC=yes # Flac Support # -# WITHOUT_LAME=yes +# WITH_LAME=yes # Mp3 encoder Support # # WITHOUT_LIBA52=yes @@ -281,6 +281,10 @@ WITH_FRIBIDI= yes WITH_GGI= yes .endif +.if exists(${LOCALBASE}/lib/libmp3lame.a) && !defined(WITHOUT_LAME) +WITH_LAME= yes +.endif + .if exists(${LOCALBASE}/lib/libtheora.so.1) && !defined(WITHOUT_LIBTHEORA) WITH_LIBTHEORA= yes .endif @@ -481,7 +485,7 @@ CONFIGURE_ARGS+=--enable-ggi CONFIGURE_ARGS+=--disable-ggi .endif -.if !defined(WITHOUT_LAME) +.if defined(WITH_LAME) && !defined(WITHOUT_LAME) LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame CONFIGURE_ARGS+=--enable-mp3lame .else |