Skip to content

Commit

Permalink
simutrans: remove old conflict handler
Browse files Browse the repository at this point in the history
Originally added in f83bd7f over 7 years ago.
  • Loading branch information
chrstphrchvz authored and cjones051073 committed May 25, 2019
1 parent a8f8c6a commit f910e48
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions games/simutrans/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,6 @@ subport simutrans-pak64 {
destroot {
copy ${worksrcpath}/${name} ${destroot}${data_dir}
}

# Deactivate old simutrans port that had an integrated pak64 that would conflict.
# Legacy port deactivation hack added 2012-04-22.
pre-activate {
if {[file exists ${prefix}/bin/simutrans]
&& ![catch {set vers [lindex [registry_active simutrans] 0]}]
&& [vercmp [lindex $vers 1] 111.2.2] < 0} {
registry_deactivate_composite simutrans "" [list ports_nodepcheck 1]
}
}
}

livecheck.version ${my_version}
Expand Down

0 comments on commit f910e48

Please sign in to comment.