pkgsrc/devel/p5-File-LibMagic/Makefile
mef aa9322ffc0 (pkgsrc)
- The same problem with ExtUtils-MakeMaker change
   gcc: error: LibMagic.o: No such file or directory
   https://mail-index.netbsd.org/pkgsrc-users/2015/09/19/msg022238.html
   patch-aa is manually editted to follow the old behavior of ExtUtils-MakeMaker
   Thanks joerg and Matthias Ferdinand (in old mail)
(upstream)
 - Update 1.13 to 1.15
   -------------------
1.15     2015-09-19

- Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap

1.14     2015-09-16
- Fixed handling of extra include dirs passed to Makefile.PL via the -I
  flag. This wasn't working properly in previous releases. Reported by Andy
    Jack. GH #6.
2016-02-03 05:07:11 +00:00

32 lines
963 B
Makefile

# $NetBSD: Makefile,v 1.20 2016/02/03 05:07:11 mef Exp $
DISTNAME= File-LibMagic-1.15
PKGNAME= p5-${DISTNAME}
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
# Behavior back to 7.04.1
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=7.10:../../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"