Changeset 146119


Ignore:
Timestamp:
Feb 29, 2016, 12:07:28 AM (3 years ago)
Author:
ionic@…
Message:

sysutils/amttools: correctly hardcode perl 5.22.

Location:
trunk/dports/sysutils/amttools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/amttools/Portfile

    r146024 r146119  
    77set my_distname     amtterm
    88version             1.4
    9 revision            0
     9revision            1
    1010categories          sysutils
    1111license             GPL-2+
     
    3535                    sha256  e10af2b02dbf66fb24abd292b9ddc6d86b31eea09887da5cb0eb8fb2ee900e21
    3636
     37set perl_branch     5.22
    3738depends_build       port:pkgconfig
    38 depends_run         port:p5.22-soap-lite
     39depends_run         port:p${perl_branch}-soap-lite
    3940
    4041default_variants    +gtk
     
    6566
    6667post-patch {
    67     reinplace -W "${worksrcpath}" "s|@@PREFIX@@|${prefix}|" amttool
     68    reinplace -W "${worksrcpath}" "s|@@PERL_BINARY@@|${prefix}/bin/perl${perl_branch}|" amttool
    6869}
    6970
  • trunk/dports/sysutils/amttools/files/patch-amttool-prepare-hashbang-for-reinplace.diff

    r146024 r146119  
    33@@ -1,4 +1,4 @@
    44-#!/usr/bin/perl
    5 +#!@@PREFIX@@/bin/perl
     5+#!@@PERL_BINARY@@
    66 use strict;
    77 use warnings;
Note: See TracChangeset for help on using the changeset viewer.