Changeset 125085


Ignore:
Timestamp:
Sep 5, 2014, 1:23:33 AM (5 years ago)
Author:
khindenburg@…
Message:

easy-rsa: do not use /opt/local in diff - instead use dummy variable and reinplace

Location:
trunk/dports/security/easy-rsa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/easy-rsa/Portfile

    r125083 r125085  
    2828build {}
    2929
     30post-patch {
     31    reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/easyrsa
     32    reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/vars.example
     33}
     34
    3035destroot {
    3136    xinstall -m 755 ${worksrcpath}/easyrsa ${destroot}${prefix}/bin
  • trunk/dports/security/easy-rsa/files/patch-set-macports-paths.diff

    r125071 r125085  
    66        # set up program path
    77-       local prog_vars="${0%/*}/vars"
    8 +       local prog_vars="/opt/local/share/easy-rsa"
     8+       local prog_vars="PREFIX/share/easy-rsa"
    99 
    1010        # command-line path:
     
    1515        # Set defaults, preferring existing env-vars if present
    1616-       set_var EASYRSA         "$PWD"
    17 +       set_var EASYRSA         "/opt/local/share/easy-rsa"
     17+       set_var EASYRSA         "PREFIX/share/easy-rsa"
    1818        set_var EASYRSA_OPENSSL openssl
    1919-       set_var EASYRSA_PKI     "$EASYRSA/pki"
     
    2929 
    3030-#set_var EASYRSA       "$PWD"
    31 +#set_var EASYRSA       "/opt/local/share/easy-rsa"
     31+#set_var EASYRSA       "PREFIX/share/easy-rsa"
    3232 
    3333 # If your OpenSSL command is not in the system PATH, you will need to define the
Note: See TracChangeset for help on using the changeset viewer.