# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../psmisc/install.patch
# Copyright (C) 2004 - 2010 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

--- psmisc-22.13/src/Makefile.in.vanilla	2010-12-10 11:48:55.000000000 +0100
+++ psmisc-22.13/src/Makefile.in	2010-12-10 11:49:05.000000000 +0100
@@ -556,7 +556,7 @@
 
 install-exec-hook:
 		cd $(DESTDIR)$(bindir) && \
-			( [ -h pstree.x11 ]  || $(LN_S) pstree pstree.x11)
+			( [ -h pstree.x11 ]  || $(LN_S) -f pstree pstree.x11)
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
