openbsd-ports/converters/recode/Makefile
avsm 3e20dc9618 fix on our current ELF ld, which seems to require all symbols
to be resolved (even unused ones?).  this fixes the php4 build;
pkgname has been bumped.

patch from wilfried@
2003-04-27 21:00:21 +00:00

41 lines
932 B
Makefile

# $OpenBSD: Makefile,v 1.22 2003/04/27 21:00:21 avsm Exp $
COMMENT= "convert files between character sets and usages"
DISTNAME= recode-3.6
PKGNAME= ${DISTNAME}p1
CATEGORIES= converters textproc
HOMEPAGE= http://www.gnu.org/software/recode/
MODULES= gettext
# License: GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-included-gettext
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
patch-*
REGRESS_DEPENDS= :python-*:lang/python
post-extract:
@cd ${WRKSRC}/lib && cp -p error.c ../src
post-regress:
@cd ${WRKBUILD}/tests && ${MAKE} \
PYTHON=${LOCALBASE}/bin/python bigtest
.include <bsd.port.mk>