On 2015/10/15 15:39, Giovanni Bechis wrote:
> -DISTNAME=    Mail-DMARC-1.20140622
> +DISTNAME=    Mail-DMARC-1.20150908
...
> +post-configure:
> +     find ${WRKSRC} -name "*.orig" -exec rm -f {} \;

The Mail-DMARC update doesn't build with the post-configure step
in the Makefile .. the patch needs a regen too:

===>  Extracting for p5-Mail-DMARC-1.20150908
===>  Patching for p5-Mail-DMARC-1.20150908
===>   Applying OpenBSD patch patch-lib_Mail_DMARC_Report_Receive_pm
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-lib_Mail_DMARC_Report_Receive_pm,v 1.1 2014/07/01 11:41:54 
henning Exp $
|--- lib/Mail/DMARC/Report/Receive.pm.orig      Mon Jun 30 12:51:53 2014
|+++ lib/Mail/DMARC/Report/Receive.pm   Mon Jun 30 12:52:26 2014
--------------------------
Patching file lib/Mail/DMARC/Report/Receive.pm using Plan A...
Hunk #1 succeeded at 234 (offset 5 lines).
done
===>  Configuring for p5-Mail-DMARC-1.20150908
Checking if your kit is complete...
Looks good
Warning: prerequisite Config::Tiny 0 not found.
Warning: prerequisite DBIx::Simple 1.35 not found.
Warning: prerequisite Email::MIME 0 not found.
Warning: prerequisite Net::IDN::Encode 0 not found.
Warning: prerequisite Net::IP 0 not found.
Warning: prerequisite Net::SMTPS 0 not found.
Warning: prerequisite Regexp::Common 2013031301 not found.
Warning: prerequisite Test::File::ShareDir 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Mail::DMARC
Writing MYMETA.yml and MYMETA.json
find /usr/obj/ports/p5-Mail-DMARC-1.20150908/Mail-DMARC-1.20150908 -name 
"*.orig" -exec rm -f {} \;
===>  Building for p5-Mail-DMARC-1.20150908
make: don't know how to make lib/Mail/DMARC/Report/Receive.pm.orig 
(prerequisite of: pm_to_blib)
Stop in /usr/obj/ports/p5-Mail-DMARC-1.20150908/Mail-DMARC-1.20150908


I don't know if it's related to the problem you saw with startup, but
p5-Mail-Milter-Authentication needs CONFIGURE_STYLE=modinst (and then
you can also remove patch-Makefile_PL).

If I build it with that change, it does start for me (if I copy/edit
/etc/authentication_milter.json), but that might be an unrelated problem.

I wonder if we should get perl.port.mk to look for 'use inc::Module::Install'
in Makefile.PL and at least print a warning about CONFIGURE_STYLE
if it's present ...

Reply via email to