ports/82079: Update port: net/rexx-sock to 1.4

KATO Tsuguru tkato432 at yahoo.com
Thu Jun 9 18:10:11 UTC 2005


>Number:         82079
>Category:       ports
>Synopsis:       Update port: net/rexx-sock to 1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 09 18:10:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.4

Remove file:
files/patch-Makefile.in
files/patch-configure
files/patch-preinst.rexx

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/rexx-sock/Makefile net/rexx-sock/Makefile
--- /usr/ports/net/rexx-sock/Makefile	Wed Feb  4 19:03:10 2004
+++ net/rexx-sock/Makefile	Sun Jun  5 21:13:01 2005
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	sock
-PORTVERSION=	1.3
-PORTREVISION=	2
+PORTVERSION=	1.4
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	rxsock
@@ -21,13 +20,21 @@
 BUILD_DEPENDS=	rexx:${PORTSDIR}/lang/rexx-regina
 RUN_DEPENDS=	rexx:${PORTSDIR}/lang/rexx-regina
 
+USE_REINPLACE=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
 CONFIGURE_ARGS=	--with-rexx=regina
-USE_GMAKE=	yes
+MAKE_ARGS=	INSTALL="${INSTALL}"
 INSTALLS_SHLIB=	yes
+
 DATADIR=	${PREFIX}/share/rx${PORTNAME}
 
-post-extract:
-	@${CHMOD} +x ${WRKSRC}/install-sh
+post-patch:
+	@${REINPLACE_CMD} -e 's|ld -Bdynamic -Bshareable|$${CC} -shared|g' \
+		${WRKSRC}/configure
+.for file in Makefile.in rxsock-config.in
+	@${REINPLACE_CMD} -e 's|-lc||g' ${WRKSRC}/${file}
+.endfor
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/rexx-sock/distinfo net/rexx-sock/distinfo
--- /usr/ports/net/rexx-sock/distinfo	Fri Jan 30 14:52:57 2004
+++ net/rexx-sock/distinfo	Sun Jun  5 20:47:31 2005
@@ -1,2 +1,2 @@
-MD5 (RxSock-1.3.tar.gz) = 963c3328c632dbb8879296a97ca6bff2
-SIZE (RxSock-1.3.tar.gz) = 94653
+MD5 (RxSock-1.4.tar.gz) = e0c5a29b3b012a4589321cf4aa3d6223
+SIZE (RxSock-1.4.tar.gz) = 124168
diff -urN /usr/ports/net/rexx-sock/files/patch-Makefile.in net/rexx-sock/files/patch-Makefile.in
--- /usr/ports/net/rexx-sock/files/patch-Makefile.in	Tue Jan 27 13:23:55 2004
+++ net/rexx-sock/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- Makefile.in.orig	Tue Jan 27 12:04:50 2004
-+++ Makefile.in	Tue Jan 27 12:16:35 2004
-@@ -195,13 +195,13 @@
- 	-$(INSTALL) -c -m 755 ./$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) $(libdir)/$(SHLPRE)$(PACKAGE_NAME)$(SHLPST)
- 	$(INSTALL) -c -m 755 ./$(LIBPRE)$(PACKAGE_NAME)$(LIBPST) $(libdir)/$(LIBPRE)$(PACKAGE_NAME)$(LIBPST)
- 	./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/tcpc.cmd $(sharedir)/tcpcmd.cmd
--	-chmod 755 $(sharedir)/tcpc.cmd
-+	-chmod 755 $(sharedir)/tcpcmd.cmd
- 	./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/tcps.cmd $(sharedir)/tcpsmd.cmd
--	-chmod 755 $(sharedir)/tcps.cmd
-+	-chmod 755 $(sharedir)/tcpsmd.cmd
- 	./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/udpc.cmd $(sharedir)/udpcmd.cmd
--	-chmod 755 $(sharedir)/udpc.cmd
-+	-chmod 755 $(sharedir)/udpcmd.cmd
- 	./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/udps.cmd $(sharedir)/udpsmd.cmd
--	-chmod 755 $(sharedir)/udps.cmd
-+	-chmod 755 $(sharedir)/udpsmd.cmd
- 	./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/davesim.rex $(sharedir)/udpsmd.cmd
- 	-chmod 755 $(sharedir)/davesim.rex
- 	$(INSTALL) -c -m 644 $(demodir)/udps.txt $(sharedir)/udps.txt
diff -urN /usr/ports/net/rexx-sock/files/patch-configure net/rexx-sock/files/patch-configure
--- /usr/ports/net/rexx-sock/files/patch-configure	Tue Jan 27 13:23:55 2004
+++ net/rexx-sock/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Tue Jan 27 11:57:27 2004
-+++ configure	Tue Jan 27 11:57:34 2004
-@@ -2832,7 +2832,7 @@
- 		LD_RXTRANSLIB1="$LD_RXLIB1"
- 		;;
- 	*freebsd*)
--		LD_RXLIB1="ld -Bdynamic -Bshareable"
-+		LD_RXLIB1="${CC} -shared"
- 		LD_RXTRANSLIB1="$LD_RXLIB1"
- 		;;
- 	*pc-sco*)
diff -urN /usr/ports/net/rexx-sock/files/patch-preinst.rexx net/rexx-sock/files/patch-preinst.rexx
--- /usr/ports/net/rexx-sock/files/patch-preinst.rexx	Tue Jan 27 13:23:55 2004
+++ net/rexx-sock/files/patch-preinst.rexx	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- preinst.rexx.orig	Tue Jan 27 12:01:19 2004
-+++ preinst.rexx	Tue Jan 27 12:01:27 2004
-@@ -5,6 +5,6 @@
- Call Lineout outfile, "#!" || rexx_exe
- Do While(Lines(infile) > 0)
-    line = Linein(infile)
--   Call Lineout(outfile, line )
-+   Call Lineout outfile, line
- End
- Return 0
diff -urN /usr/ports/net/rexx-sock/pkg-plist net/rexx-sock/pkg-plist
--- /usr/ports/net/rexx-sock/pkg-plist	Tue Jan 27 23:31:45 2004
+++ net/rexx-sock/pkg-plist	Sun Jun  5 21:13:49 2005
@@ -1,11 +1,12 @@
 bin/rxsock
 lib/librxsock.a
 lib/librxsock.so
+%%DATADIR%%/davesim.rex
 %%DATADIR%%/davesim.txt
-%%DATADIR%%/tcpcmd.cmd
-%%DATADIR%%/tcpsmd.cmd
+%%DATADIR%%/tcpc.cmd
+%%DATADIR%%/tcps.cmd
 %%DATADIR%%/tcps.txt
-%%DATADIR%%/udpcmd.cmd
-%%DATADIR%%/udpsmd.cmd
+%%DATADIR%%/udpc.cmd
+%%DATADIR%%/udps.cmd
 %%DATADIR%%/udps.txt
 @dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list