Hi, all: Here is a patch for misc/p5-File-LibMagic : i) Update to 1.22 ii) Remove the patch which is not needed now iii) Remove the lines of post-extract, which is not needed now
It build well and pass all tests on amd64-current system. No other ports depend on it. Regards, wen
Index: Makefile =================================================================== RCS file: /cvs/ports/misc/p5-File-LibMagic/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 12 Jul 2019 20:47:52 -0000 1.18 +++ Makefile 28 Apr 2020 02:43:19 -0000 @@ -2,7 +2,7 @@ COMMENT = perl wrapper for libmagic -DISTNAME = File-LibMagic-1.16 +DISTNAME = File-LibMagic-1.22 CATEGORIES = misc @@ -21,9 +21,5 @@ 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> Index: distinfo =================================================================== RCS file: /cvs/ports/misc/p5-File-LibMagic/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- distinfo 29 Oct 2017 21:49:16 -0000 1.13 +++ distinfo 28 Apr 2020 02:43:19 -0000 @@ -1,2 +1,2 @@ -SHA256 (File-LibMagic-1.16.tar.gz) = yKaV+sFFT1Lhji4bYkwGR88RcyYBQCPdpp+j4aXzPWA= -SIZE (File-LibMagic-1.16.tar.gz) = 143313 +SHA256 (File-LibMagic-1.22.tar.gz) = k2Ob0HaEnpOgIP6hUH8KKzRnuHkutcMG8qrLv7TQgNY= +SIZE (File-LibMagic-1.22.tar.gz) = 128201 Index: patches/patch-MANIFEST =================================================================== RCS file: patches/patch-MANIFEST diff -N patches/patch-MANIFEST --- patches/patch-MANIFEST 29 Oct 2017 21:49:16 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$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 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/misc/p5-File-LibMagic/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 27 Sep 2015 19:35:55 -0000 1.5 +++ pkg/PLIST 28 Apr 2020 02:43:19 -0000 @@ -1,9 +1,12 @@ @comment $OpenBSD: PLIST,v 1.5 2015/09/27 19:35:55 bluhm Exp $ ${P5ARCH}/ ${P5ARCH}/File/ +${P5ARCH}/File/LibMagic/ ${P5ARCH}/File/LibMagic.pm +${P5ARCH}/File/LibMagic/Constants.pm ${P5ARCH}/auto/ ${P5ARCH}/auto/File/ ${P5ARCH}/auto/File/LibMagic/ -${P5ARCH}/auto/File/LibMagic/LibMagic.so +@so ${P5ARCH}/auto/File/LibMagic/LibMagic.so @man man/man3p/File::LibMagic.3p +@man man/man3p/File::LibMagic::Constants.3p