[108524] trunk/dports/devel/subversion-javahlbindings/Portfile
dluke at macports.org
dluke at macports.org
Thu Jul 25 10:46:38 PDT 2013
Revision: 108524
https://trac.macports.org/changeset/108524
Author: dluke at macports.org
Date: 2013-07-25 10:46:38 -0700 (Thu, 25 Jul 2013)
Log Message:
-----------
subversion-javahlbindings: add pre-activate hack to remove the symlink the port previously put directly into ${prefix}
Modified Paths:
--------------
trunk/dports/devel/subversion-javahlbindings/Portfile
Modified: trunk/dports/devel/subversion-javahlbindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-javahlbindings/Portfile 2013-07-25 17:11:29 UTC (rev 108523)
+++ trunk/dports/devel/subversion-javahlbindings/Portfile 2013-07-25 17:46:38 UTC (rev 108524)
@@ -107,6 +107,19 @@
--disable-keychain
}
+pre-activate {
+ #- this port used to create a symlink directly in ${prefix} which was fixed in 1.8.1_1
+ #- we need to remove this symlink fromo ${prefix} though, so upgrades work
+ #- this can eventually be removed, origionally added 2013-07-25
+ set badfile ${prefix}/lib/libsvnjavahl-1.jnilib
+ if {[file exists ${badfile}] && [registry_file_registered ${badfile}] == "0"} {
+ if {[catch {delete ${badfile}}]} {
+ ui_warn "Cannot delete ${badfile}; please remove it manually"
+ }
+ }
+
+ }
+
livecheck.type regex
livecheck.url http://svn.apache.org/repos/asf/subversion/tags/
livecheck.regex "(\\d+\\.\\d+\\.\\d+)/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130725/21546097/attachment-0001.html>
More information about the macports-changes
mailing list