[143621] trunk/dports/lang/perl5/Portfile

Bradley Giesbrecht pixilla at macports.org
Tue Dec 15 16:10:47 PST 2015


Perhaps patchfiles could take a path as a value?

patchfiles patch-current.diff
patchfiles patch-relative-to-filespath.diff
patchfiles /why/would/we/want/this/patch-full-path.diff

I should have check first, does patchfiles already work this way?


Regards,
Bradley Giesbrecht (pixilla)




> On Dec 15, 2015, at 4:02 PM, mcalhoun at macports.org wrote:
> 
> Revision
> 143621 <https://trac.macports.org/changeset/143621>Author
> mcalhoun at macports.org <mailto:mcalhoun at macports.org>Date
> 2015-12-15 16:02:40 -0800 (Tue, 15 Dec 2015)
> Log Message
> 
> perl5: allow patch file to be found in new file structure of r143612 <https://trac.macports.org/changeset/143612>
> Modified Paths
> 
> trunk/dports/lang/perl5/Portfile <x-msg://44/#trunkdportslangperl5Portfile>
> Diff
> 
>  <>Modified: trunk/dports/lang/perl5/Portfile (143620 => 143621)
> 
> --- trunk/dports/lang/perl5/Portfile	2015-12-16 00:00:52 UTC (rev 143620)
> +++ trunk/dports/lang/perl5/Portfile	2015-12-16 00:02:40 UTC (rev 143621)
> @@ -121,7 +121,7 @@
>  
>          if {[variant_isset universal]} {
>              post-configure {
> -                system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
> +                system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/${perl5.major}/config.h.ed"
>              }
>          }
>  
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151215/e3b51e0d/attachment.html>


More information about the macports-dev mailing list