freebsd-ports/japanese/xchat/Makefile
Akinori MUSHA 65c8663f35 Fix japanese/xchat which had been broken by the last two commits on
irc/xchat.  As japanese/xchat "built" without a problem, I didn't
notice it was "broken"...  In reality, the configure script failed to
detect the iconv library because of the removal of CPPFLAGS and LIBS
in CONFIGURE_ENV, therefore the built binary lacked Japanese support.
(i.e. the ja-xchat package included in 4.2-RELEASE will be broken)

To avoid this kind of sad accidents in future, add a note to irc/xchat
that it has a slave port and one should be careful not to overwrite
variables or targets.
2000-11-06 19:39:43 +00:00

35 lines
996 B
Makefile

# New ports collection makefile for: xchat-ja
# Date created: 30 Sep 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
MASTERDIR= ${.CURDIR}/../../irc/xchat
PORTREVISION= 1
CATEGORIES= japanese
PATCH_SITES= http://northeye.org/~takuo/xchat-ja/
PATCHFILES= ${PORTNAME}-${PORTVERSION}.ja.3.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= knu@FreeBSD.org
LIB_DEPENDS= iconv.1:${PORTSDIR}/converters/iconv
MD5_FILE= ${.CURDIR}/distinfo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-japanese-conv # --enable-ipv6
MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl"
pre-patch:
${PERL} -i -pe 's/-b&h-lucidatypewriter-medium-r-normal-\*-\*-120-\*-\*-m-\*-\*-\*/$$&,-default-*ng-medium-r-normal--14-*,*/' ${WRKSRC}/src/common/cfgfiles.c
pre-build:
${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in ${WRKSRC}/configure ${WRKSRC}/config.status
.include "${MASTERDIR}/Makefile"