pkgsrc/devel/p5-gettext/Makefile
joerg b127b8dd01 The perl framework didn't look in /usr/pkg/lib when searching for -lintl
and therefore, dropped it ultimately. Hack around this by explicitly
including the library path. Bump revision.
2006-01-27 19:21:59 +00:00

26 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.15 2006/01/27 19:21:59 joerg Exp $
#
DISTNAME= gettext-1.05
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
SVR4_PKGNAME= p5gtx
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/gettext/
COMMENT= Perl5 module interface to C I18N functions
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Locale/gettext/.packlist
SUBST_CLASSES+= intlpath
SUBST_FILES.intlpath= Makefile.PL
SUBST_SED.intlpath+= -e 's,-lintl,-L${BUILDLINK_PREFIX.gettext}/lib -lintl,g'
SUBST_STAGE.intlpath= pre-configure
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"