Tell configure where to find libiconv. Somehow gcc managed to compile it.

Clang however didn't. [1]

While here add dependancy on libiconv. This probably went unnoticed because
gettext already pulls libiconv in.

Submitted by:	Andrius Morkunas <hinokind@gmail.com> [1]
This commit is contained in:
Koop Mast 2010-06-09 21:58:44 +00:00
parent d402451832
commit 913f6d564c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256232

View File

@ -8,6 +8,7 @@
PORTNAME= libcddb
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF
@ -17,8 +18,10 @@ COMMENT= A library to access data on a CDDB server
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= gnometarget gnomehack pkgconfig
USE_ICONV= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-cdio
CONFIGURE_ENV= CPPFLAGS="-DICONV_CONST=\"const\""
CONFIGURE_ENV= CPPFLAGS="-DICONV_CONST=\"const\" -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>