update p5-File-LibMagic to 1.16
use build dependency instead of included modules
This commit is contained in:
parent
910323ac31
commit
0f5fe0522f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2016/03/20 19:56:49 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2017/10/29 21:49:16 bluhm Exp $
|
||||
|
||||
COMMENT = perl wrapper for libmagic
|
||||
COMMENT = perl wrapper for libmagic
|
||||
|
||||
DISTNAME = File-LibMagic-1.15
|
||||
DISTNAME = File-LibMagic-1.16
|
||||
|
||||
CATEGORIES = misc
|
||||
CATEGORIES = misc
|
||||
|
||||
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
|
||||
|
||||
@ -14,6 +14,7 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
WANTLIB = c magic perl
|
||||
|
||||
MODULES = cpan
|
||||
BUILD_DEPENDS = devel/p5-Config-AutoConf
|
||||
RUN_DEPENDS = devel/libmagic
|
||||
LIB_DEPENDS = devel/libmagic
|
||||
TEST_DEPENDS = devel/p5-Test-Fatal
|
||||
@ -21,4 +22,8 @@ TEST_DEPENDS = devel/p5-Test-Fatal
|
||||
CONFIGURE_ARGS += --include ${LOCALBASE}/include --lib ${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS += "LIBS=-L${LOCALBASE}/lib -lmagic"
|
||||
|
||||
# Use build dependency instead of included copy of Config::AutoConf.
|
||||
post-extract:
|
||||
rm -rf -- ${WRKSRC}/inc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (File-LibMagic-1.15.tar.gz) = LH+1SRLK8sItBrAtaojtrZcOD4sBdjTcMO7EblN2PoQ=
|
||||
SIZE (File-LibMagic-1.15.tar.gz) = 124847
|
||||
SHA256 (File-LibMagic-1.16.tar.gz) = yKaV+sFFT1Lhji4bYkwGR88RcyYBQCPdpp+j4aXzPWA=
|
||||
SIZE (File-LibMagic-1.16.tar.gz) = 143313
|
||||
|
16
misc/p5-File-LibMagic/patches/patch-MANIFEST
Normal file
16
misc/p5-File-LibMagic/patches/patch-MANIFEST
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-MANIFEST,v 1.1 2017/10/29 21:49:16 bluhm Exp $
|
||||
|
||||
Index: MANIFEST
|
||||
--- MANIFEST.orig
|
||||
+++ MANIFEST
|
||||
@@ -13,10 +13,6 @@ const/inc.xs
|
||||
cpanfile
|
||||
dev-bin/regen-constants.pl
|
||||
dist.ini
|
||||
-inc/Capture/Tiny.pm
|
||||
-inc/Config/AutoConf.pm
|
||||
-inc/MyInstallGuide.pm
|
||||
-inc/MyMakeMaker.pm
|
||||
lib/File/LibMagic.pm
|
||||
lib/File/LibMagic.xs
|
||||
lib/File/typemap
|
Loading…
Reference in New Issue
Block a user