aboutsummaryrefslogtreecommitdiff
path: root/misc/detachtty/files/patch-aa
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-09-07 00:14:04 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-09-07 00:14:04 +0000
commita1327ebdc5f2dec724e9a2caac668552cb829574 (patch)
tree12097e6a812799cd594d09d6c0d69939049c16f5 /misc/detachtty/files/patch-aa
parent061bee5cf88a54646e6abc3551a5432885038846 (diff)
downloadports-a1327ebdc5f2dec724e9a2caac668552cb829574.tar.gz
ports-a1327ebdc5f2dec724e9a2caac668552cb829574.zip
Notes
Diffstat (limited to 'misc/detachtty/files/patch-aa')
-rw-r--r--misc/detachtty/files/patch-aa32
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/