[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: Update: comms/c3270
From:       Jeremy Evans <openbsd () jeremyevans ! net>
Date:       2009-01-29 20:14:05
Message-ID: 20090129201405.GW14861 () jeremyevans ! local
[Download RAW message or body]

Here's a resubmittal of c3270.  Based on comments by naddy@, PKGNAME
uses pl3.  Also, Guillaume Pinot pointed out that the environment should
use LOCALBASE instead of PREFIX.

This doesn't share any libraries with x3270, so I don't believe they
need to be updated together.  They do share some utility programs, but
as far as I know, there shouldn't be a negative effect of using x3270
3.3.6 and c3270 3.3.8.  I've CCed the x3270 maintainer, so hopefully he
can share his thoughts.

Also, upstream got back to me and said that the included patch will be
in the next version.

Tested on i386.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/comms/c3270/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	28 Nov 2007 21:16:59 -0000	1.1.1.1
+++ Makefile	29 Jan 2009 20:05:08 -0000
@@ -2,7 +2,9 @@
 
 COMMENT=	curses-based 3270 terminal editor
 
-DISTNAME=	c3270-3.3.6
+V=		c3270-3.3.8
+DISTNAME=	${V}p3
+PKGNAME=	${V}pl3
 EXTRACT_SUFX=	.tgz
 CATEGORIES=	comms
 
@@ -17,10 +19,15 @@
 PERMIT_DISTFILES_FTP=	Yes
 WANTLIB=		c crypto ssl ncurses readline util
 
+MODULES=                converters/libiconv
+
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=x3270/}	
 
 WRKDIST=		${WRKDIR}/c3270-3.3
 CONFIGURE_STYLE=	gnu
+CONFIGURE_ENV=		CFLAGS="-I${LOCALBASE}/include" \
+			LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ENV=		${CONFIGURE_ENV}
 
 NO_REGRESS=		Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/comms/c3270/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo	28 Nov 2007 21:16:59 -0000	1.1.1.1
+++ distinfo	29 Jan 2009 20:05:08 -0000
@@ -1,5 +1,5 @@
-MD5 (c3270-3.3.6.tgz) = 0+tAnEBuD/Xtmj8K5LVFLg==
-RMD160 (c3270-3.3.6.tgz) = hfm5CBIAQ9sky74wsy/kUD6/XLE=
-SHA1 (c3270-3.3.6.tgz) = xUx8EFp7KRlogv9CSWbFxs4PpR8=
-SHA256 (c3270-3.3.6.tgz) = XzrOvZk16rAHN0KwdjLnIuifLsFuowD2sgmPrSiuzFU=
-SIZE (c3270-3.3.6.tgz) = 727448
+MD5 (c3270-3.3.8p3.tgz) = GdMSMqM5CFqHQoX7lT0Tdw==
+RMD160 (c3270-3.3.8p3.tgz) = ZAlPwu/qlrexCcWo8ruMuk+ktpI=
+SHA1 (c3270-3.3.8p3.tgz) = ArBgUNl150vGO5XCzskmqHL/2b4=
+SHA256 (c3270-3.3.8p3.tgz) = Xi+yC2nW79AV0iS35x+2X/tdD1waa5hIkBL35A/06Co=
+SIZE (c3270-3.3.8p3.tgz) = 1103481
Index: patches/patch-Makefile_in
===================================================================
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_in	29 Jan 2009 20:05:08 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Makefile.in.orig	Mon Sep 22 18:57:55 2008
++++ Makefile.in	Tue Jan 27 14:54:50 2009
+@@ -23,7 +23,7 @@ SRCS = actions.c ansi.c apl.c c3270.c charset.c child.
+ 	unicode.c unicode_dbcs.c utf8.c util.c xio.c XtGlue.c
+ VOBJS = actions.o ansi.o apl.o c3270.o charset.o child.o ctlr.o fallbacks.o \
+ 	ft.o ft_cut.o ft_dft.o glue.o help.o host.o icmd.o idle.o keymap.o \
+-	kybd.o macros.o print.o printer.o proxy.o resolver.c resources.o \
++	kybd.o macros.o print.o printer.o proxy.o resolver.o resources.o \
+ 	rpq.o screen.o see.o sf.o tables.o telnet.o toggles.o trace_ds.o \
+ 	unicode.o unicode_dbcs.o utf8.o util.o xio.o XtGlue.o
+ OBJS1 = $(VOBJS) version.o
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/comms/c3270/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST	28 Nov 2007 21:16:59 -0000	1.1.1.1
+++ pkg/PLIST	29 Jan 2009 20:05:08 -0000
@@ -1,4 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/28 21:16:59 naddy Exp $
-bin/c3270
-bin/pr3287
-bin/x3270if
+@bin bin/c3270
+@bin bin/pr3287
+@bin bin/x3270if

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic