#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- httppc-0.8.5/Makefile.am~install
+++ httppc-0.8.5/Makefile.am
@@ -28,7 +28,7 @@
 EXTRA_DIST = run proxed httppcrc
 
 install-exec-hook:
-	(cd $(bindir) && for i in telnetx ftpx cvsx sshx scpx sftpx ; do $(LN_S) -f proxed $$i; done)
+	(cd $(DESTDIR)$(bindir) && for i in telnetx ftpx cvsx sshx scpx sftpx ; do $(LN_S) -f proxed $$i; done)
 
 uninstall-local:
-	(cd $(bindir) && rm -f telnetx ftpx cvsx sshx scpx sftpx)
+	(cd $(DESTDIR)$(bindir) && rm -f telnetx ftpx cvsx sshx scpx sftpx)
--- httppc-0.8.5/Makefile.in~install
+++ httppc-0.8.5/Makefile.in
@@ -747,10 +747,10 @@
 
 
 install-exec-hook:
-	(cd $(bindir) && for i in telnetx ftpx cvsx sshx scpx sftpx ; do $(LN_S) -f proxed $$i; done)
+	(cd $(DESTDIR)$(bindir) && for i in telnetx ftpx cvsx sshx scpx sftpx ; do $(LN_S) -f proxed $$i; done)
 
 uninstall-local:
-	(cd $(bindir) && rm -f telnetx ftpx cvsx sshx scpx sftpx)
+	(cd $(DESTDIR)$(bindir) && rm -f telnetx ftpx cvsx sshx scpx sftpx)
 # 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: