diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2010-05-13 01:01:03 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 01:01:03 +0200 |
commit | 6ec76a9860188c0e2de54daf61f5a4ff590ad8ef (patch) | |
tree | edd70b526118253bc6ab17c0dcd069325fa5016f /system/pdksh/patches/000_add_destdir.patch | |
parent | 387f1e8f9c14fc5648eee03d43787806c806fe20 (diff) | |
download | slackbuilds-6ec76a9860188c0e2de54daf61f5a4ff590ad8ef.tar.gz |
system/pdksh: Added to 13.0 repository
Diffstat (limited to 'system/pdksh/patches/000_add_destdir.patch')
-rw-r--r-- | system/pdksh/patches/000_add_destdir.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/system/pdksh/patches/000_add_destdir.patch b/system/pdksh/patches/000_add_destdir.patch new file mode 100644 index 0000000000..fba38ea1b3 --- /dev/null +++ b/system/pdksh/patches/000_add_destdir.patch @@ -0,0 +1,23 @@ +diff -Nur pdksh-5.2.14.orig/Makefile.in pdksh-5.2.14/Makefile.in +--- pdksh-5.2.14.orig/Makefile.in 1999-07-13 12:06:53.000000000 -0500 ++++ pdksh-5.2.14/Makefile.in 2009-09-26 19:09:46.183509569 -0500 +@@ -80,8 +80,8 @@ + $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $< + + install: installdirs all +- $(INSTALL_PROGRAM) $(SHELL_PROG)$(exe_suffix) $(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix) +- -$(INSTALL_DATA) $(SHELL_PROG).1 $(mandir)/`echo $(SHELL_PROG)|sed '$(transform)'`.$(manext) ++ $(INSTALL_PROGRAM) $(SHELL_PROG)$(exe_suffix) $(DESTDIR)/$(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix) ++ -$(INSTALL_DATA) $(SHELL_PROG).1 $(DESTDIR)/$(mandir)/`echo $(SHELL_PROG)|sed '$(transform)'`.$(manext) + -@prog=$(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix);\ + test -f /etc/shells \ + && (grep "^$$prog\$$" /etc/shells > /dev/null \ +@@ -90,7 +90,7 @@ + you should add it if you want to set your shell to $(SHELL_PROG)") + + installdirs: +- $(srcdir)/mkinstalldirs $(bindir) $(mandir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(mandir) + + uninstall: + rm -f $(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix) |