mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Add WITHOUT_ICONV knob. Use at your own peril.
PR: 124181 Submitted by: Helge Oldach
This commit is contained in:
parent
bc905a137b
commit
b72db1b841
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216379
@ -17,16 +17,21 @@ COMMENT= Free lossless audio codec
|
||||
LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_ICONV= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --enable-sse \
|
||||
--with-libiconv-prefix="${LOCALBASE}" \
|
||||
--with-ogg="${LOCALBASE}" \
|
||||
--disable-thorough-tests \
|
||||
--disable-xmms-plugin
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include"
|
||||
|
||||
.if !defined(WITHOUT_ICONV)
|
||||
USE_ICONV= yes
|
||||
CONFIGURE_ARGS+=--with-libiconv-prefix="${LOCALBASE}"
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-libiconv-prefix
|
||||
.endif
|
||||
|
||||
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
|
||||
MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj
|
||||
.if defined(NOPORTDOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user