mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix the build when audio/oss is installed by force to search for
sys/soundcard.h in /usr/include first rather than oss's header. [1] - While I am here, fix the flac option. The autocheck is not need when it is enable by default and add --disable-flac to make WITHOUT_FLAC works. PR: ports/116268 [1] Reported by: Volker <heizraum@freenet.de> [1]
This commit is contained in:
parent
16fae2b3e3
commit
fac32e69a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199522
1 changed files with 5 additions and 2 deletions
|
@ -19,7 +19,7 @@ GNU_CONFIGURE= yes
|
|||
CONFIGURE_ARGS= --enable-justsrc \
|
||||
--disable-gcc-pipe \
|
||||
--disable-sqlite
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV= CPPFLAGS="-isystem /usr/include -isystem ${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
@ -29,8 +29,11 @@ OPTIONS= FLAC "Enable flac support" On
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_FLAC) || exists(${LOCALBASE}/lib/libFLAC.a)
|
||||
.if !defined(WITHOUT_FLAC)
|
||||
LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac
|
||||
CONFIGURE_ARGS+=--enable-flac
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-flac
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
|
Loading…
Add table
Reference in a new issue