- include netinet/in.h before arpa/inet.h to avoid a couple of compiler
warnings in teln.c - mkdir -> ${INSTALL_DATA_DIR}
This commit is contained in:
parent
ce2273402a
commit
34b9eb1399
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.13 1999/12/09 21:17:19 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 1999/12/31 23:28:24 brad Exp $
|
||||
|
||||
DISTNAME= screen-3.9.5
|
||||
CATEGORIES= misc
|
||||
@ -11,10 +11,10 @@ MAINTAINER= brad@openbsd.org
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
post-install:
|
||||
@mkdir -p ${PREFIX}/lib/screen
|
||||
@install-info ${PREFIX}/info/screen.info ${PREFIX}/info/dir
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/screen
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/lib/screen/screenrc
|
||||
${INSTALL_DATA} ${WRKSRC}/terminfo/screencap ${PREFIX}/lib/screen
|
||||
@install-info ${PREFIX}/info/screen.info ${PREFIX}/info/dir
|
||||
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
misc/screen/patches/patch-af
Normal file
10
misc/screen/patches/patch-af
Normal file
@ -0,0 +1,10 @@
|
||||
--- teln.c.orig Fri Dec 31 17:53:35 1999
|
||||
+++ teln.c Fri Dec 31 17:53:54 1999
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <fcntl.h>
|
||||
#include <netdb.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "config.h"
|
Loading…
Reference in New Issue
Block a user