add patches so system termcap lib is NOT used,

fixes -nw mode on console/xterm; move generated
PLIST to  so concurrent loads don't
clobber each other
This commit is contained in:
marc 1999-01-31 21:40:05 +00:00
parent cda4357241
commit c78bcf5e70
3 changed files with 29 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 1998/12/27 20:18:57 marc Exp $
# $OpenBSD: Makefile,v 1.9 1999/01/31 21:40:05 marc Exp $
#
VER= 20.3
@ -9,6 +9,7 @@ MAINTAINER= ports@OpenBSD.ORG
MASTER_SITES= ${MASTER_SITE_GNU}
#USE_AUTOCONF= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@ -37,10 +38,14 @@ STRIP_PROGS+= ${DISTNAME}
STRIP_EXECS= cvtmail digest-doc emacsserver fakemail hexl movemail \
profile sorted-doc yow
# Put generated PLIST into WRKDIR to avoid collisions in a shared ports tree.
#
PLIST= ${WRKDIR}/PLIST
pre-install pre-package:
@${RM} -f ${PKGDIR}/PLIST
@${RM} -f ${WRKDIR}/PLIST
@${SED} -e 's/||CONFIG||/${GCCARCH}/' \
${FILESDIR}/PLIST.template >${PKGDIR}/PLIST
${FILESDIR}/PLIST.template >${WRKDIR}/PLIST
post-install:
.for file in ${STRIP_PROGS}

View File

@ -0,0 +1,8 @@
--- src/s/openbsd.h.~1~ Sat Sep 6 12:33:09 1997
+++ src/s/openbsd.h Sat Jan 30 20:26:59 1999
@@ -5,3 +5,5 @@
/* Get the rest of the stuff from that less-POSIX-conformant system */
#include "netbsd.h"
+
+#undef LIBS_TERMCAP

View File

@ -0,0 +1,13 @@
--- src/m/sparc.h.~1~ Sat Sep 6 11:51:04 1997
+++ src/m/sparc.h Sun Jan 31 12:58:22 1999
@@ -83,8 +83,10 @@
/* Must use the system's termcap, if we use any termcap.
It does special things. */
+#if 0 /* not with OpenBSD 2.4 current */
#ifndef TERMINFO
#define LIBS_TERMCAP -ltermcap
+#endif
#endif
/* Mask for address bits within a memory segment */