mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Disable lame support unless WITH_LAME is defined since lame can not be packaged.
This commit is contained in:
parent
fb975cadf9
commit
17f5cfcdac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127063
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user