Ticket #43498: samba3-pkgconfig.diff

File samba3-pkgconfig.diff, 2.6 KB (added by Ionic (Mihai Moldovan), 10 years ago)

Includes changes to Portfile, new patch and revbump. Obsoletes the other patches in this ticket.

  • Portfile

    old new  
    66name                samba3
    77conflicts           talloc
    88version             3.6.23
     9revision            1
    910categories          net
    1011platforms           darwin
    1112maintainers         nomaintainer
     
    4748                    --without-ldap \
    4849                    --without-krb5
    4950
     51patchfiles          patch-source_pkgconfig_all_pc_in.diff
     52
    5053variant kerberos description "Enable Kerberos support" {
    5154    configure.args-delete --without-krb5
    5255    depends_lib-append port:kerberos5
     
    6669        ${destroot}${prefix}/var/db/smb/
    6770    xinstall -m 644 ${worksrcpath}/../examples/smb.conf.default \
    6871        ${destroot}${prefix}/etc/${name}/smb.conf.sample
     72    xinstall -d -m 755 ${destroot}${prefix}/lib/pkgconfig
     73    eval file copy [glob ${worksrcpath}/pkgconfig/*.pc] \
     74                   ${destroot}${prefix}/lib/pkgconfig
    6975    system "touch ${destroot}${prefix}/etc/${name}/lmhosts.sample"
    7076    system "touch ${destroot}${prefix}/var/db/smb/secrets.tdb.sample"
    7177
  • new file files/patch-source_pkgconfig_all_pc_in.diff

    - +  
     1--- pkgconfig/netapi.pc.in.old  2014-04-26 00:02:20.000000000 +0200
     2+++ pkgconfig/netapi.pc.in      2014-04-26 00:03:55.000000000 +0200
     3@@ -8,7 +8,7 @@
     4 Version: 0
     5 URL: http://www.samba.org/
     6 #Libs: -L@libdir@ -lnetapi
     7-Libs: -lnetapi
     8+Libs: -L${libdir} -lnetapi
     9 Libs.private: -lnetapi @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
     10 Cflags: -I@includedir@
     11 
     12--- pkgconfig/smbclient.pc.in.old       2014-04-26 00:02:20.000000000 +0200
     13+++ pkgconfig/smbclient.pc.in   2014-04-26 00:03:36.000000000 +0200
     14@@ -8,7 +8,7 @@
     15 Version: 0
     16 URL: http://www.samba.org/
     17 #Libs: -L@libdir@ -lsmbclient
     18-Libs: -lsmbclient
     19+Libs: -L${libdir} -lsmbclient
     20 Libs.private: -lsmbclient @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
     21 Cflags: -I@includedir@
     22 
     23--- pkgconfig/smbsharemodes.pc.in.old   2014-04-26 00:02:20.000000000 +0200
     24+++ pkgconfig/smbsharemodes.pc.in       2014-04-26 00:04:09.000000000 +0200
     25@@ -8,7 +8,7 @@
     26 Version: 0
     27 URL: http://www.samba.org/
     28 #Libs: -L@libdir@ -lsmbsharemodes
     29-Libs: -lsmbsharemodes
     30+Libs: -L${libdir} -lsmbsharemodes
     31 Libs.private: -lsmbsharemodes @LIBS@
     32 Cflags: -I@includedir@
     33 
     34--- pkgconfig/wbclient.pc.in.old        2014-04-26 00:02:20.000000000 +0200
     35+++ pkgconfig/wbclient.pc.in    2014-04-26 00:04:25.000000000 +0200
     36@@ -8,6 +8,6 @@
     37 Version: 0
     38 URL: http://www.samba.org/
     39 #Libs: -L@libdir@ -lwbclient
     40-Libs: -lwbclient
     41+Libs: -L${libdir} -lwbclient
     42 Libs.private: -lwbclient
     43 Cflags: -I@includedir@