1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/converters/p5-Text-Iconv/Makefile
Tijl Coosemans 1aa279d779 Instead of patching the code to use /usr/include/iconv.h replace LOCALBASE
in CONFIGURE_ARGS with ICONV_PREFIX.  Also add CFLAGS to INC in
CONFIGURE_ARGS to get -DLIBICONV_PLUG on FreeBSD 10 with libiconv installed.

PR:		ports/187907
Approved by:	perl (mat)
2014-03-25 18:40:44 +00:00

20 lines
443 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= Text-Iconv
PORTVERSION= 1.7
PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to iconv() codeset conversion function
USES= perl5 iconv
USE_PERL5= configure
CONFIGURE_ARGS+=INC="-I${ICONV_PREFIX}/include ${CFLAGS}" \
LIBS="-L${ICONV_PREFIX}/lib ${ICONV_LIB}"
.include <bsd.port.mk>