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.
This commit is contained in:
parent
157eae4b8e
commit
b127b8dd01
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue