# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../psmisc/install.patch
# Copyright (C) 2004 - 2006 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-21.9/src/Makefile.in.orig	2005-12-16 12:55:48.000000000 +0100
+++ psmisc-21.9/src/Makefile.in	2005-12-19 13:25:26.000000000 +0100
@@ -468,7 +468,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.
 .NOEXPORT:
