diff options
Diffstat (limited to 'misc/detachtty/files/patch-Makefile')
| -rw-r--r-- | misc/detachtty/files/patch-Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/detachtty/files/patch-Makefile b/misc/detachtty/files/patch-Makefile new file mode 100644 index 000000000000..5ed43a0acc3c --- /dev/null +++ b/misc/detachtty/files/patch-Makefile @@ -0,0 +1,23 @@ +--- Makefile.orig 2003-08-04 17:32:23.000000000 +0800 ++++ Makefile 2014-06-08 23:33:51.093015991 +0800 +@@ -3,9 +3,9 @@ + # for details + + # Linux 2.4 +-OS_CFLAGS=-DNEED_PTY_H ++#OS_CFLAGS=-DNEED_PTY_H + # FreeBSD, version unknown +-#OS_CFLAGS=-DNEED_LIBUTIL_H ++OS_CFLAGS=-DNEED_LIBUTIL_H + # Solaris, some version of + #OS_CFLAGS=-DNEED_STRINGS_H -DNEED_LOCAL_FORKPTY_H + # MacOS X needs libpoll from fink +@@ -23,7 +23,7 @@ OS_OBJECTS= + # no forkpty in Solaris or MacOS X + # OS_OBJECTS=forkpty.o + +-INSTALL_DIR=/usr/local/bin ++INSTALL_DIR=${PREFIX}/bin + + # You probably don't need to edit anything below this line + |
