[108943] trunk/dports/net/samba3/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Aug 4 16:06:49 PDT 2013
Revision: 108943
https://trac.macports.org/changeset/108943
Author: ryandesign at macports.org
Date: 2013-08-04 16:06:49 -0700 (Sun, 04 Aug 2013)
Log Message:
-----------
samba3: fix destroot on Lion and earlier on which dirsort.dylib and syncops.dylib don't get built
Modified Paths:
--------------
trunk/dports/net/samba3/Portfile
Modified: trunk/dports/net/samba3/Portfile
===================================================================
--- trunk/dports/net/samba3/Portfile 2013-08-04 22:38:17 UTC (rev 108942)
+++ trunk/dports/net/samba3/Portfile 2013-08-04 23:06:49 UTC (rev 108943)
@@ -128,7 +128,9 @@
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/catia.dylib ${destroot}${prefix}/lib/samba3/vfs/catia.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/crossrename.dylib ${destroot}${prefix}/lib/samba3/vfs/crossrename.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/default_quota.dylib ${destroot}${prefix}/lib/samba3/vfs/default_quota.dylib"
- system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/dirsort.dylib ${destroot}${prefix}/lib/samba3/vfs/dirsort.dylib"
+ if {[file exists ${destroot}${prefix}/lib/samba3/vfs/dirsort.dylib]} {
+ system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/dirsort.dylib ${destroot}${prefix}/lib/samba3/vfs/dirsort.dylib"
+ }
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/expand_msdfs.dylib ${destroot}${prefix}/lib/samba3/vfs/expand_msdfs.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/extd_audit.dylib ${destroot}${prefix}/lib/samba3/vfs/extd_audit.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/fake_perms.dylib ${destroot}${prefix}/lib/samba3/vfs/fake_perms.dylib"
@@ -145,7 +147,9 @@
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/smb_traffic_analyzer.dylib ${destroot}${prefix}/lib/samba3/vfs/smb_traffic_analyzer.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/streams_depot.dylib ${destroot}${prefix}/lib/samba3/vfs/streams_depot.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/streams_xattr.dylib ${destroot}${prefix}/lib/samba3/vfs/streams_xattr.dylib"
- system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/syncops.dylib ${destroot}${prefix}/lib/samba3/vfs/syncops.dylib"
+ if {[file exists ${destroot}${prefix}/lib/samba3/vfs/syncops.dylib]} {
+ system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/syncops.dylib ${destroot}${prefix}/lib/samba3/vfs/syncops.dylib"
+ }
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/time_audit.dylib ${destroot}${prefix}/lib/samba3/vfs/time_audit.dylib"
system "install_name_tool ${changeline} -id ${prefix}/lib/samba3/vfs/xattr_tdb.dylib ${destroot}${prefix}/lib/samba3/vfs/xattr_tdb.dylib"
system "install_name_tool ${changeline} ${destroot}${prefix}/bin/eventlogadm"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130804/4e8a14f5/attachment.html>
More information about the macports-changes
mailing list