[119469] trunk/dports/net/samba3

snc at macports.org snc at macports.org
Sat Apr 26 12:20:19 PDT 2014


Revision: 119469
          https://trac.macports.org/changeset/119469
Author:   snc at macports.org
Date:     2014-04-26 12:20:19 -0700 (Sat, 26 Apr 2014)
Log Message:
-----------
samba3: include pkg-config files, #43498

Modified Paths:
--------------
    trunk/dports/net/samba3/Portfile

Added Paths:
-----------
    trunk/dports/net/samba3/files/patch-source_pkgconfig_all_pc_in.diff

Modified: trunk/dports/net/samba3/Portfile
===================================================================
--- trunk/dports/net/samba3/Portfile	2014-04-26 19:10:03 UTC (rev 119468)
+++ trunk/dports/net/samba3/Portfile	2014-04-26 19:20:19 UTC (rev 119469)
@@ -6,6 +6,7 @@
 name                samba3
 conflicts           talloc
 version             3.6.23
+revision            1
 categories          net
 platforms           darwin
 maintainers         nomaintainer
@@ -47,6 +48,8 @@
                     --without-ldap \
                     --without-krb5
 
+patchfiles          patch-source_pkgconfig_all_pc_in.diff
+
 variant kerberos description "Enable Kerberos support" {
     configure.args-delete --without-krb5
     depends_lib-append port:kerberos5
@@ -66,6 +69,9 @@
         ${destroot}${prefix}/var/db/smb/
     xinstall -m 644 ${worksrcpath}/../examples/smb.conf.default \
         ${destroot}${prefix}/etc/${name}/smb.conf.sample
+    xinstall -d -m 755 ${destroot}${prefix}/lib/pkgconfig
+    eval file copy [glob ${worksrcpath}/pkgconfig/*.pc] \
+                   ${destroot}${prefix}/lib/pkgconfig
     system "touch ${destroot}${prefix}/etc/${name}/lmhosts.sample"
     system "touch ${destroot}${prefix}/var/db/smb/secrets.tdb.sample"
 

Added: trunk/dports/net/samba3/files/patch-source_pkgconfig_all_pc_in.diff
===================================================================
--- trunk/dports/net/samba3/files/patch-source_pkgconfig_all_pc_in.diff	                        (rev 0)
+++ trunk/dports/net/samba3/files/patch-source_pkgconfig_all_pc_in.diff	2014-04-26 19:20:19 UTC (rev 119469)
@@ -0,0 +1,43 @@
+--- pkgconfig/netapi.pc.in.old	2014-04-26 00:02:20.000000000 +0200
++++ pkgconfig/netapi.pc.in	2014-04-26 00:03:55.000000000 +0200
+@@ -8,7 +8,7 @@
+ Version: 0
+ URL: http://www.samba.org/
+ #Libs: -L at libdir@ -lnetapi
+-Libs: -lnetapi
++Libs: -L${libdir} -lnetapi
+ Libs.private: -lnetapi @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
+ Cflags: -I at includedir@
+ 
+--- pkgconfig/smbclient.pc.in.old	2014-04-26 00:02:20.000000000 +0200
++++ pkgconfig/smbclient.pc.in	2014-04-26 00:03:36.000000000 +0200
+@@ -8,7 +8,7 @@
+ Version: 0
+ URL: http://www.samba.org/
+ #Libs: -L at libdir@ -lsmbclient
+-Libs: -lsmbclient
++Libs: -L${libdir} -lsmbclient
+ Libs.private: -lsmbclient @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
+ Cflags: -I at includedir@
+ 
+--- pkgconfig/smbsharemodes.pc.in.old	2014-04-26 00:02:20.000000000 +0200
++++ pkgconfig/smbsharemodes.pc.in	2014-04-26 00:04:09.000000000 +0200
+@@ -8,7 +8,7 @@
+ Version: 0
+ URL: http://www.samba.org/
+ #Libs: -L at libdir@ -lsmbsharemodes
+-Libs: -lsmbsharemodes
++Libs: -L${libdir} -lsmbsharemodes
+ Libs.private: -lsmbsharemodes @LIBS@
+ Cflags: -I at includedir@
+ 
+--- pkgconfig/wbclient.pc.in.old	2014-04-26 00:02:20.000000000 +0200
++++ pkgconfig/wbclient.pc.in	2014-04-26 00:04:25.000000000 +0200
+@@ -8,6 +8,6 @@
+ Version: 0
+ URL: http://www.samba.org/
+ #Libs: -L at libdir@ -lwbclient
+-Libs: -lwbclient
++Libs: -L${libdir} -lwbclient
+ Libs.private: -lwbclient
+ Cflags: -I at includedir@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140426/f6948582/attachment.html>


More information about the macports-changes mailing list