[108524] trunk/dports/devel/subversion-javahlbindings/Portfile
Revision: 108524 https://trac.macports.org/changeset/108524 Author: dluke@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+)/"
participants (1)
-
dluke@macports.org