1f835283b3
to after GNU_CONFIGURE and USE_LIBTOOL being set. This fixes the problem where the lt_cv_sys_max_cmd_len was not added to the CONFIGURE_ENV. Now that I think about it, I caused this problem when I added that Linux check...
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2004/08/31 19:24:42 reed Exp $
|
|
#
|
|
|
|
DISTNAME= libiconv-1.9.1
|
|
PKGREVISION= 2
|
|
CATEGORIES= converters
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/libiconv/
|
|
COMMENT= Character set conversion library
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGINSTALL= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "Linux"
|
|
# don't use PKG_SKIP_REASON yet so we can make sure the buildlinking is correct
|
|
PKG_FAIL_REASON+= "${PKGNAME} is not needed for Linux; it is included in GNU libc."
|
|
.endif
|
|
|
|
TEST_TARGET= check
|
|
|
|
EGDIR= ${PREFIX}/share/examples/libiconv
|
|
SUPPORT_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias
|
|
|
|
MAKE_ENV+= PAX="${PAX}"
|
|
|
|
# remove any existing charset.alias; if it already exists, libiconv does
|
|
# not overwrite it, and older versions of libiconv wrote incorrect
|
|
# charset.alias files, which were not removed during deinstall since
|
|
# other packages touched them.
|
|
pre-install:
|
|
${RM} -f ${PREFIX}/lib/charset.alias
|
|
|
|
# be sure to install a new charset.alias
|
|
post-install:
|
|
cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} \
|
|
install-charset-alias
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|