aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ah-tty
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-12-13 20:34:22 +0000
committerPatrick Li <pat@FreeBSD.org>2002-12-13 20:34:22 +0000
commiteea8bec652bb3e2752892114cc840a872ac038d3 (patch)
treeebe48813b0c3d58756a96a0fa7ce20f2b80eceac /sysutils/ah-tty
parent9e1d86051832dfb8e4b1d34f126fae2656499d64 (diff)
downloadports-eea8bec652bb3e2752892114cc840a872ac038d3.tar.gz
ports-eea8bec652bb3e2752892114cc840a872ac038d3.zip
Notes
Diffstat (limited to 'sysutils/ah-tty')
-rw-r--r--sysutils/ah-tty/Makefile2
-rw-r--r--sysutils/ah-tty/files/patch-include::LDL.h20
-rw-r--r--sysutils/ah-tty/pkg-plist2
3 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/ah-tty/Makefile b/sysutils/ah-tty/Makefile
index 32de8d18cb53..c804b98754fa 100644
--- a/sysutils/ah-tty/Makefile
+++ b/sysutils/ah-tty/Makefile
@@ -21,5 +21,7 @@ MAN1= ah-tty.1
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/dillib/vty/vtlabel.c
+ @${REINPLACE_CMD} -e 's|##x|x|' \
+ ${WRKSRC}/include/platform.h
.include <bsd.port.mk>
diff --git a/sysutils/ah-tty/files/patch-include::LDL.h b/sysutils/ah-tty/files/patch-include::LDL.h
new file mode 100644
index 000000000000..f66c552369cc
--- /dev/null
+++ b/sysutils/ah-tty/files/patch-include::LDL.h
@@ -0,0 +1,20 @@
+--- include/LDL.h.orig Fri Dec 13 11:54:46 2002
++++ include/LDL.h Fri Dec 13 11:55:01 2002
+@@ -20,8 +20,6 @@
+ # endif
+ # include <string.h>
+
+-#if !defined(HAVE_INSQUE) && !defined(HAVE_REMQUE)
+-/* the insque, remque are not defined, we need to define the type for them */
+ typedef struct qelem
+ {
+ struct qelem* q_forw,* q_back;
+@@ -49,8 +47,6 @@
+ if (elem->q_forw) elem->q_forw->q_back = elem->q_back;
+ if (elem->q_back) elem->q_back->q_forw = elem->q_forw;
+ }
+-#endif
+-
+ #endif
+
+
diff --git a/sysutils/ah-tty/pkg-plist b/sysutils/ah-tty/pkg-plist
index 87b3b48b5295..30ccc6ef454e 100644
--- a/sysutils/ah-tty/pkg-plist
+++ b/sysutils/ah-tty/pkg-plist
@@ -1,6 +1,6 @@
bin/ah-tty
bin/ah-tty.static
share/ah-tty.conf
-info/ah-tty.info
@unexec install-info --delete %D/info/ah-tty.info %D/info/dir
+info/ah-tty.info
@exec install-info %D/info/ah-tty.info %D/info/dir