Ticket #52486: p11-kit.patch

File p11-kit.patch, 1.4 KB (added by lbschenkel (Leonardo Brondani Schenkel), 8 years ago)
  • p11-kit/Portfile

    diff --git a/p11-kit/Portfile b/p11-kit/Portfile
    a b  
    55
    66name                p11-kit
    77version             0.23.2
     8revision            1
    89license             Permissive
    910description         Provides a way to load and enumerate PKCS#11 modules and a standard \
    1011                    configuration setup for installing PKCS#11 modules in such a way that \
     
    2930
    3031depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
    3132
    32 patchfiles          patch-common-compat.c.diff
     33patchfiles          patch-common-compat.c.diff patch-p11-kit-Makefile.am.diff
    3334
    3435configure.args      --with-trust-paths=${prefix}/share/curl/curl-ca-bundle.crt:${prefix}/etc/openssl \
    3536                    --disable-silent-rules
  • new file p11-kit/files/patch-p11-kit-Makefile.am.diff

    diff --git a/p11-kit/files/patch-p11-kit-Makefile.am.diff b/p11-kit/files/patch-p11-kit-Makefile.am.diff
    new file mode 100644
    - +  
     1diff --git p11-kit/Makefile.am p11-kit/Makefile.am
     2--- p11-kit/Makefile.am
     3+++ p11-kit/Makefile.am
     4@@ -87,7 +87,7 @@
     5 
     6 # Proxy module is actually same as library, so install a link
     7 install-exec-hook:
     8-       $(LN_S) -f `readlink $(DESTDIR)$(libdir)/libp11-kit.so` $(DESTDIR)$(libdir)/p11-kit-proxy.so
     9+       $(LN_S) -f `readlink $(DESTDIR)$(libdir)/libp11-kit.{so,dylib}` $(DESTDIR)$(libdir)/p11-kit-proxy.so
     10        $(MKDIR_P) $(DESTDIR)$(p11_package_config_modules)
     11 
     12 endif