Ignore:
Timestamp:
Apr 26, 2014, 10:42:43 PM (5 years ago)
Author:
ryandesign@…
Message:

aircrack-ng: use patchfiles instead of reinplaces

Location:
trunk/dports/security/aircrack-ng
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/aircrack-ng/Portfile

    r119476 r119478  
    2727                    rmd160  7d70533b0397e801d4a85c1be3584699364f3d38
    2828
    29 post-patch {
    30     reinplace s@/usr/local@${prefix}@ ${worksrcpath}/common.mak
    31     reinplace s/-Werror// ${worksrcpath}/common.mak
    32 
    33     reinplace -E {s/#if defined.*/#if 0/} \
    34         ${worksrcpath}/src/aircrack-ng.c \
    35         ${worksrcpath}/src/common.h \
    36         ${worksrcpath}/src/sha1-sse2.h
    37 }
     29patchfiles          patch-common.mak.diff \
     30                    patch-src-aircrack-ng.c.diff \
     31                    patch-src-common.h.diff \
     32                    patch-src-sha1-sse2.h.diff
    3833
    3934depends_build       port:gmake
     
    4944build.cmd           ${prefix}/bin/gmake
    5045
    51 build.args          ASM_AC= \
     46build.args          prefix=${prefix} \
     47                    ASM_AC= \
    5248                    CC="${configure.cc} [get_canonical_archflags cc]"
    5349
    54 destroot.args       mandir=${prefix}/share/man/man1
     50destroot.args       prefix=${prefix}
Note: See TracChangeset for help on using the changeset viewer.