View | Details | Raw Unified | Return to bug 63133
Collapse All | Expand All

(-)devel/rlwrap/Makefile (-8 / +7 lines)
Lines 7-30 Link Here
7
#
7
#
8
8
9
PORTNAME=	rlwrap
9
PORTNAME=	rlwrap
10
PORTVERSION=	0.15
10
PORTVERSION=	0.18
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	http://utopia.knoware.nl/~hlub/uck/rlwrap/
12
MASTER_SITES=	http://utopia.knoware.nl/~hlub/uck/rlwrap/
13
EXTRACT_SUFX=	.tgz
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Readline wrapper
15
COMMENT=	Readline wrapper
17
16
17
USE_GETOPT_LONG=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
20
21
MAN1=	rlwrap.1
22
18
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
19
24
20
.if ${OSVERSION} < 500018
25
.if ${OSVERSION} < 500018
21
IGNORE=		"Requires readline 4.2 or newer, only available in recent versions of FreeBSD 5.x"
26
IGNORE=		"Requires readline 4.2 or newer, only available in recent versions of FreeBSD 5.x"
22
.endif
27
.endif
23
24
USE_GETOPT_LONG=	yes
25
GNU_CONFIGURE=	yes
26
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
27
28
MAN1=	rlwrap.1
29
28
30
.include <bsd.port.post.mk>
29
.include <bsd.port.post.mk>
(-)devel/rlwrap/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (rlwrap-0.15.tgz) = b1325380b8d1a9619d26d5a4b6bcacca
1
MD5 (rlwrap-0.18.tar.gz) = 0a1b449aab79376c659684196763de52
2
SIZE (rlwrap-0.15.tgz) = 65184
2
SIZE (rlwrap-0.18.tar.gz) = 102953
(-)devel/rlwrap/files/patch-Makefile.in (-20 lines)
Lines 1-20 Link Here
1
--- Makefile.in.orig	Fri Jun 21 18:13:49 2002
2
+++ Makefile.in	Thu Jul  4 15:46:48 2002
3
@@ -14,6 +14,8 @@
4
 
5
 oldincludedir = /usr/include
6
 
7
+CPPFLAGS      = @CPPFLAGS@
8
+
9
 LDFLAGS       = @LDFLAGS@ -L$(libdir)
10
 LIBS          = @LIBS@
11
 SHELL         = /bin/sh
12
@@ -21,7 +23,7 @@
13
 
14
 
15
 CC = @CC@
16
-CFLAGS= @CFLAGS@ -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\"  -Wall -I .
17
+CFLAGS= @CFLAGS@ $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I .
18
 SOURCES = main.c signals.c utils.c readline.c pty.c completion.c term.c  
19
 OBJECTS = main.o signals.o utils.o readline.o pty.o completion.o term.o
20
 TESTCLIENT=testclient
(-)devel/rlwrap/files/patch-rlwrap.h (-13 lines)
Lines 1-13 Link Here
1
--- rlwrap.h.orig	Tue Sep 11 06:02:47 2001
2
+++ rlwrap.h	Mon Mar  4 07:37:19 2002
3
@@ -36,6 +36,10 @@
4
 #include <stdlib.h>
5
 #include <time.h>
6
 
7
+#ifdef HAVE_GETOPT_LONG
8
+#include <getopt.h>
9
+#endif
10
+
11
 #ifdef HAVE_GETOPT_H
12
 #include <getopt.h>
13
 #endif
(-)devel/rlwrap/files/patch-src::Makefile.in (+11 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	Sun Feb  1 05:13:59 2004
2
+++ src/Makefile.in	Fri Feb 20 22:36:34 2004
3
@@ -83,7 +83,7 @@
4
 install_sh = @install_sh@
5
 bin_PROGRAMS = rlwrap
6
 rlwrap_SOURCES = main.c signals.c utils.c readline.c pty.c completion.c term.c ptytty.c
7
-CFLAGS = -DDATADIR=\"@datadir@\" -g
8
+CFLAGS = @CFLAGS@ -DDATADIR=\"@datadir@\"
9
 subdir = src
10
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11
 CONFIG_HEADER = $(top_builddir)/config.h
(-)devel/rlwrap/files/patch-src::ptytty.c (+11 lines)
Line 0 Link Here
1
--- src/ptytty.c.orig	Thu Jan 22 18:16:16 2004
2
+++ src/ptytty.c	Mon Feb  2 15:12:59 2004
3
@@ -41,7 +41,7 @@
4
 #ifdef HAVE_SYS_IOCTL_H
5
 # include <sys/ioctl.h>
6
 #endif
7
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
8
+#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__)
9
 # include <sys/stropts.h>      /* for I_PUSH */
10
 #endif
11
 
(-)devel/rlwrap/pkg-plist (-3 / +3 lines)
Lines 1-4 Link Here
1
bin/rlwrap
1
bin/rlwrap
2
etc/rlwrap/ftp
2
%%DATADIR%%/ftp
3
etc/rlwrap/testclient
3
%%DATADIR%%/testclient
4
@dirrm etc/rlwrap
4
@dirrm %%DATADIR%%

Return to bug 63133