Skip to content

Commit

Permalink
(pkgsrc)
Browse files Browse the repository at this point in the history
 - Add following line for make test
   BUILD_DEPENDS+=        p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
(upstream)
 - Update to 1.13
 ----------------
 1.13     2015-07-12
  - Fix failing tests with some versions of libmagic. PR #5 by E. Choroba.
  • Loading branch information
mef committed Aug 22, 2015
1 parent da802a6 commit 80021f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
8 changes: 3 additions & 5 deletions devel/p5-File-LibMagic/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.17 2015/06/12 10:49:13 wiz Exp $
# $NetBSD: Makefile,v 1.18 2015/08/22 23:41:00 mef Exp $

DISTNAME= File-LibMagic-1.12
DISTNAME= File-LibMagic-1.13
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}

Expand All @@ -14,12 +13,11 @@ LICENSE= ${PERL5_LICENSE}
BUILDLINK_API_DEPENDS.file+= file>=5.00

# necessary for test
#DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal

# cannot open LibMagic.xs: No such file or directory
MAKE_JOBS_SAFE= no


USE_LANGUAGES= c
PERL5_PACKLIST= auto/File/LibMagic/.packlist

Expand Down
10 changes: 5 additions & 5 deletions devel/p5-File-LibMagic/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.8 2015/03/15 14:08:05 mef Exp $
$NetBSD: distinfo,v 1.9 2015/08/22 23:41:00 mef Exp $

SHA1 (File-LibMagic-1.12.tar.gz) = d96a42a482d2685709f7ce4eaeb7280dfdc85311
RMD160 (File-LibMagic-1.12.tar.gz) = 860c83af8f3eeecfd4ca70014e5143cc8c35c7b4
Size (File-LibMagic-1.12.tar.gz) = 124210 bytes
SHA1 (patch-aa) = a10a0f04dc7b074481017f2e60dfa7f2dcebf5aa
SHA1 (File-LibMagic-1.13.tar.gz) = 1f074a7f9fce9ac1e11b1fae41abfb6db51b7ae0
RMD160 (File-LibMagic-1.13.tar.gz) = d4c22be7f59483bebacc3f204e63d216eb186802
Size (File-LibMagic-1.13.tar.gz) = 124384 bytes
SHA1 (patch-aa) = 19d6b1a9affc490478a0081c660bf74e4a8c31ac
10 changes: 5 additions & 5 deletions devel/p5-File-LibMagic/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$NetBSD: patch-aa,v 1.5 2015/02/07 16:01:07 mef Exp $
$NetBSD: patch-aa,v 1.6 2015/08/22 23:41:00 mef Exp $

- Ensure we use the required ldflags for the platform.

--- Makefile.PL.orig 2015-02-02 02:42:08.000000000 +0900
+++ Makefile.PL 2015-02-03 10:19:06.000000000 +0900
@@ -22,7 +22,7 @@
"EXE_FILES" => [],
--- Makefile.PL.orig 2015-07-13 02:54:52.000000000 +0900
+++ Makefile.PL 2015-08-23 08:33:54.000000000 +0900
@@ -22,7 +22,7 @@ my %WriteMakefileArgs = (
"DISTNAME" => "File-LibMagic",
"INC" => "-I. -Ic",
"LDFROM" => "LibMagic\$(OBJ_EXT)",
- "LIBS" => "-lmagic",
Expand Down

0 comments on commit 80021f4

Please sign in to comment.