summaryrefslogtreecommitdiff
path: root/devel/p5-gettext/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-27 19:21:59 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-27 19:21:59 +0000
commitb127b8dd01e4f6396ee09cd8a0e9683f811611ad (patch)
treea04b70712b2cad83a529fa9a0971f4f49032cfa3 /devel/p5-gettext/Makefile
parent157eae4b8eb8833da7102f1bbfa14bcae71d56a7 (diff)
downloadpkgsrc-b127b8dd01e4f6396ee09cd8a0e9683f811611ad.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/Makefile')
-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"