summaryrefslogtreecommitdiff
path: root/devel/p5-gettext
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-27 19:21:59 +0000
committerjoerg <joerg>2006-01-27 19:21:59 +0000
commit048c9c6077cccb61aec5ba19207cfa59945bd312 (patch)
treea04b70712b2cad83a529fa9a0971f4f49032cfa3 /devel/p5-gettext
parente871199e2b45f867bc5bda4674c37cbb44d2d6a1 (diff)
downloadpkgsrc-048c9c6077cccb61aec5ba19207cfa59945bd312.tar.gz
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.
Diffstat (limited to 'devel/p5-gettext')
-rw-r--r--devel/p5-gettext/Makefile8
1 files changed, 7 insertions, 1 deletions
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"