From b127b8dd01e4f6396ee09cd8a0e9683f811611ad Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 27 Jan 2006 19:21:59 +0000 Subject: 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. --- devel/p5-gettext/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel/p5-gettext/Makefile') diff --git a/devel/p5-gettext/Makefile b/devel/p5-gettext/Makefile index 49aa2e791cd..e0a5063337a 100644 --- a/devel/p5-gettext/Makefile +++ b/devel/p5-gettext/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.14 2005/10/25 13:23:52 wiz Exp $ +# $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/} @@ -15,6 +16,11 @@ 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" -- cgit v1.2.3