Enable the iconv interface.

This commit is contained in:
juanfra 2015-03-30 20:01:25 +00:00
parent dd4eef4c13
commit 08459f41f0

View File

@ -1,12 +1,13 @@
# $OpenBSD: Makefile,v 1.7 2015/03/30 10:51:48 giovanni Exp $
# $OpenBSD: Makefile,v 1.8 2015/03/30 20:01:25 juanfra Exp $
COMMENT= detect character set and encoding of text files
COMMENT= detect character set and encoding of text files
DISTNAME= enca-1.16
DISTNAME= enca-1.16
REVISION= 0
SHARED_LIBS += enca 0.0 # 5.1
CATEGORIES= converters textproc
CATEGORIES= converters textproc
HOMEPAGE= http://cihar.com/software/enca/
HOMEPAGE= http://cihar.com/software/enca/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
@ -24,6 +25,10 @@ SEPARATE_BUILD= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-rpath \
--with-libiconv-prefix=${LOCALBASE} \
--with-librecode=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>