diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-09-07 00:14:04 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-09-07 00:14:04 +0000 |
commit | a1327ebdc5f2dec724e9a2caac668552cb829574 (patch) | |
tree | 12097e6a812799cd594d09d6c0d69939049c16f5 /misc/detachtty/files/patch-aa | |
parent | 061bee5cf88a54646e6abc3551a5432885038846 (diff) | |
download | ports-a1327ebdc5f2dec724e9a2caac668552cb829574.tar.gz ports-a1327ebdc5f2dec724e9a2caac668552cb829574.zip |
Notes
Diffstat (limited to 'misc/detachtty/files/patch-aa')
-rw-r--r-- | misc/detachtty/files/patch-aa | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/detachtty/files/patch-aa b/misc/detachtty/files/patch-aa new file mode 100644 index 000000000000..21ff2159333a --- /dev/null +++ b/misc/detachtty/files/patch-aa @@ -0,0 +1,32 @@ +--- Makefile.orig Wed Sep 18 00:41:36 2002 ++++ Makefile Tue Mar 25 23:20:18 2003 +@@ -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 + +@@ -19,7 +19,7 @@ + # no forkpty in Solaris + # OS_OBJECTS=forkpty.o + +-INSTALL_DIR=/usr/local/bin ++INSTALL_DIR=${PREFIX}/bin + + # You probably don't need to edit anything below this line + +@@ -31,7 +31,7 @@ + -rm *.o *~ attachtty detachtty + + install: all +- install detachtty attachtty $(DESTDIR)$(INSTALL_DIR) ++ install detachtty attachtty $(INSTALL_DIR) + + deb: + rm -rf /usr/local/src/Packages/detachtty/ |