freebsd-ports/devel/libunicode/Makefile
Jan Beich ef759dcc08 devel/libunicode: properly register iconv dependency
Avoid accidentally using converters/libiconv symbols when libc is
desired by passing -DLIBICONV_PLUG during build. This fixes the
following error in consumers:

/usr/local/lib/libunicode.so.0: undefined reference to `libiconv'
/usr/local/lib/libunicode.so.0: undefined reference to `libiconv_close'
/usr/local/lib/libunicode.so.0: undefined reference to `libiconv_open'

PR:		206966
Submitted by:	vvd@unislabs.com
Approved by:	portmgr blanket
MFH:		2016Q1
2016-02-22 17:04:15 +00:00

24 lines
671 B
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/devel/libunicode/Makefile,v 1.4 2007/09/10 05:27:38 mezz Exp $
PORTNAME= libunicode
PORTVERSION= 0.4
PORTREVISION= 11
CATEGORIES= devel gnome
MASTER_SITES= GNOME/sources/libunicode/0.4
DISTNAME= ${PORTNAME}-${PORTVERSION}.gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library for manipulating Unicode characters and strings
USES= gmake iconv libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
--datadir=${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>