pkgsrc/devel/p5-glib2/Makefile
grant 908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00

31 lines
840 B
Makefile

# $NetBSD: Makefile,v 1.7 2004/12/20 11:31:03 grant Exp $
#
DISTNAME= Glib-${DIST_VERSION}
PKGNAME= p5-glib2-${DIST_VERSION}
PKGREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk2-perl/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://gtk2-perl.sourceforge.net/
COMMENT= Perl bindings for Glib 2
DEPENDS+= p5-ExtUtils-Depends>=0.2:../../devel/p5-ExtUtils-Depends
DEPENDS+= p5-ExtUtils-PkgConfig>=1.03:../../devel/p5-ExtUtils-PkgConfig
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
PERL5_REQD= 5.8
MAKE_PARAMS+= disable-threadsafe
DIST_VERSION= 1.040
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Glib/.packlist
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"