6a67701393
Incompatible change in the newer ExtUtils-MakeMaker: It places .o files where the source file lives (lib/File/ in this case), whereas the older MakeMaker placed it in the current working dir (toplevel in this case). Thanks Matthias Ferdinand http://mail-index.netbsd.org/pkgsrc-users/2015/09/19/msg022238.html
32 lines
952 B
Makefile
32 lines
952 B
Makefile
# $NetBSD: Makefile,v 1.19 2015/09/23 06:43:47 mef Exp $
|
|
|
|
DISTNAME= File-LibMagic-1.13
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/File-LibMagic/
|
|
COMMENT= Perlwrapper for libmagic
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
BUILDLINK_API_DEPENDS.file+= file>=5.00
|
|
|
|
# necessary for test
|
|
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
|
|
|
|
# incompatible change in MakeMaker 7.06 vs. 7.04.1 in object file location
|
|
# => enforce the new behaviour
|
|
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=7.06:../../devel/p5-ExtUtils-MakeMaker
|
|
|
|
# cannot open LibMagic.xs: No such file or directory
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_LANGUAGES= c
|
|
PERL5_PACKLIST= auto/File/LibMagic/.packlist
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../sysutils/file/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|