From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 19 21:50:03 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9A2A16A41F for ; Thu, 19 Jan 2006 21:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233DB43D49 for ; Thu, 19 Jan 2006 21:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0JLo23K031971 for ; Thu, 19 Jan 2006 21:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0JLo2UK031970; Thu, 19 Jan 2006 21:50:02 GMT (envelope-from gnats) Resent-Date: Thu, 19 Jan 2006 21:50:02 GMT Resent-Message-Id: <200601192150.k0JLo2UK031970@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E928616A41F for ; Thu, 19 Jan 2006 21:41:03 +0000 (GMT) (envelope-from johans@stack.nl) Received: from mx1.stack.nl (meestal.stack.nl [131.155.140.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F1643D48 for ; Thu, 19 Jan 2006 21:41:02 +0000 (GMT) (envelope-from johans@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id AE1A74AC38; Thu, 19 Jan 2006 22:40:25 +0100 (CET) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by mx1.stack.nl (Postfix) with ESMTP id A529E4AC2C for ; Thu, 19 Jan 2006 22:40:24 +0100 (CET) Received: by mud.stack.nl (Postfix, from userid 801) id 46F4B17042; Thu, 19 Jan 2006 22:41:00 +0100 (CET) Message-Id: <20060119214100.46F4B17042@mud.stack.nl> Date: Thu, 19 Jan 2006 22:41:00 +0100 (CET) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/92026: lang/tinycobol: update to version 0.63 (and fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 21:50:03 -0000 >Number: 92026 >Category: ports >Synopsis: lang/tinycobol: update to version 0.63 (and fix) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 19 21:50:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #9: Wed Jan 11 14:40:03 CET 2006 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: Update to latest version 0.63. While we're at it, fix parts of the compilation that failed silently. This gives us extra binaries and libraries. >How-To-Repeat: >Fix: This introduces three new patchfiles. These patches mostly ensure that compilation respects variables discovered by ./configure (such as $LDFLAGS) patch-configure patch-lib_Makefile.in patch-cobrun_Makefile.in diff -uNr tinycobol/Makefile tinycobol/Makefile --- tinycobol/Makefile Fri Apr 15 04:02:30 2005 +++ tinycobol/Makefile Thu Jan 19 22:31:14 2006 @@ -6,7 +6,7 @@ # PORTNAME= tinycobol -PORTVERSION= 0.62 +PORTVERSION= 0.63 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tiny-cobol @@ -23,9 +23,9 @@ USE_BISON= yes USE_GMAKE= yes -CONFIGURE_ARGS= --with-libdb=3 --with-readline +CONFIGURE_ARGS= --with-libdb=3 CPPFLAGS= -I${LOCALBASE}/include -CFLAGS= ${CPPFGLAGS} +CFLAGS= ${CPPFLAGS} LDFLAGS= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" @@ -37,4 +37,11 @@ ${INSTALL_DATA} ${WRKSRC}/info/*.txt ${DOCSDIR} .endif -.include +.include + +# doesn't work with readline on FreeBSD 4.x +.if ${OSVERSION} >= 500000 +CONFIGURE_ARGS+= --with-readline +.endif + +.include diff -uNr tinycobol/distinfo tinycobol/distinfo --- tinycobol/distinfo Sat Nov 26 04:13:39 2005 +++ tinycobol/distinfo Thu Jan 19 21:08:40 2006 @@ -1,3 +1,3 @@ -MD5 (tinycobol-0.62.tar.gz) = ba75acd052891b58db282729e38645fc -SHA256 (tinycobol-0.62.tar.gz) = bae1e9bf70c2f9ce248b55faeb836b0fd25651973f5d34f9ce234d98669edc60 -SIZE (tinycobol-0.62.tar.gz) = 835871 +MD5 (tinycobol-0.63.tar.gz) = 21eab75899776d739cceca0c245f1d44 +SHA256 (tinycobol-0.63.tar.gz) = 7fac5e09b3c8b292957c6209df615d429f7c454859b4183cecff4c78978d4d22 +SIZE (tinycobol-0.63.tar.gz) = 847010 diff -uNr tinycobol/files/patch-cobrun_Makefile.in tinycobol/files/patch-cobrun_Makefile.in --- tinycobol/files/patch-cobrun_Makefile.in Thu Jan 1 01:00:00 1970 +++ tinycobol/files/patch-cobrun_Makefile.in Thu Jan 19 21:52:51 2006 @@ -0,0 +1,27 @@ +--- cobrun/Makefile.in.orig Thu Jul 21 14:57:52 2005 ++++ cobrun/Makefile.in Thu Jan 19 21:52:38 2006 +@@ -19,11 +19,11 @@ + + CCX=@CC@ + +-INCLUDES=-I../lib -I../ ++INCLUDES=@INCLUDES@ + LIBS= +-LIBS1=-lncurses -ldb -lm -ldl +-LIBS2=-L../lib -lhtcobol -lncurses -ldb -lm -ldl +-LDFLAGS= ++LIBS1=-lncurses @htg_ld_args_m@ @htg_ld_args_db@ @htg_ld_args_readline@ ++LIBS2=-L../lib -lhtcobol -lncurses @htg_ld_args_m@ @htg_ld_args_db@ ++LDFLAGS=@LDFLAGS@ + CCXFLAGS=${INCLUDES} + + +@@ -54,7 +54,7 @@ + ${PROG1}: + ${CCX} ${SRC1} -Wl,-export-dynamic -o ${PROG1} \ + ${INCLUDES} -Wl,-whole-archive ${tc_library} \ +- -Wl,-no-whole-archive $(LIBS1) ++ -Wl,-no-whole-archive $(LDFLAGS) $(LIBS1) + + # Shared library version + ${PROG2}: ${OBJ2} diff -uNr tinycobol/files/patch-compiler_scan.l tinycobol/files/patch-compiler_scan.l --- tinycobol/files/patch-compiler_scan.l Thu Apr 14 19:27:31 2005 +++ tinycobol/files/patch-compiler_scan.l Thu Jan 19 21:15:57 2006 @@ -1,5 +1,5 @@ ---- compiler/scan.l.orig Tue Nov 23 04:47:01 2004 -+++ compiler/scan.l Thu Apr 14 18:46:07 2005 +--- compiler/scan.l.orig Thu Jul 21 14:57:46 2005 ++++ compiler/scan.l Thu Jan 19 21:08:45 2006 @@ -24,7 +24,6 @@ */ @@ -8,7 +8,7 @@ #include "htglobals.h" #include -@@ -91,6 +90,7 @@ +@@ -93,6 +92,7 @@ #include "htcoboly.h" #include "htcobol.tab.h" /* definitions from YACC */ diff -uNr tinycobol/files/patch-configure tinycobol/files/patch-configure --- tinycobol/files/patch-configure Thu Jan 1 01:00:00 1970 +++ tinycobol/files/patch-configure Thu Jan 19 22:17:51 2006 @@ -0,0 +1,10 @@ +--- configure.orig Thu Jul 21 14:57:45 2005 ++++ configure Thu Jan 19 22:17:40 2006 +@@ -3806,6 +3806,7 @@ + s%@tcobpp_version@%$tcobpp_version%g + s%@htg_ld_args_m@%$htg_ld_args_m%g + s%@htg_ld_args_db@%$htg_ld_args_db%g ++s%@htg_ld_args_readline@%$htg_ld_args_readline%g + s%@asx_cmd@%$asx_cmd%g + s%@ccx_cmd@%$ccx_cmd%g + s%@ranlibx_cmd@%$ranlibx_cmd%g diff -uNr tinycobol/files/patch-lib_Makefile.in tinycobol/files/patch-lib_Makefile.in --- tinycobol/files/patch-lib_Makefile.in Thu Jan 1 01:00:00 1970 +++ tinycobol/files/patch-lib_Makefile.in Thu Jan 19 22:20:24 2006 @@ -0,0 +1,26 @@ +--- lib/Makefile.in.orig Thu Jul 21 14:57:47 2005 ++++ lib/Makefile.in Thu Jan 19 22:19:28 2006 +@@ -32,7 +32,7 @@ + GREP = grep -v + + MAKEDEPEND=@MAKEDEPEND@ +-LIBS=-ldl @htg_ld_args_m@ @htg_ld_args_db@ -lncurses ++LIBS=@htg_ld_args_m@ @htg_ld_args_db@ -lncurses + # + # Default install directory is set in htconfig.h + # +@@ -113,12 +113,12 @@ + # Rules for building the shared library + # + ${SHARED_LIB1}: ${OBJD1} +- ${CCX} -shared -Wl,-soname,lib${lib_name1}.so.0 -o ${SHARED_LIB1} $(OBJD1) ${LIBS} ++ ${CCX} @LDFLAGS@ -shared -Wl,-soname,lib${lib_name1}.so.0 -o ${SHARED_LIB1} $(OBJD1) ${LIBS} + ${LNK} $(SHARED_LIB1) lib$(lib_name1).so.0 + ${LNK} $(SHARED_LIB1) lib$(lib_name1).so + + ${SHARED_LIB2}: ${OBJD2} +- ${CCX} -shared -Wl,-soname,lib${lib_name2}.so.0 -o ${SHARED_LIB2} $(OBJD2) ${LIBS} ++ ${CCX} @LDFLAGS@ -shared -Wl,-soname,lib${lib_name2}.so.0 -o ${SHARED_LIB2} $(OBJD2) ${LIBS} + ${LNK} $(SHARED_LIB2) lib$(lib_name2).so.0 + ${LNK} $(SHARED_LIB2) lib$(lib_name2).so + diff -uNr tinycobol/pkg-plist tinycobol/pkg-plist --- tinycobol/pkg-plist Fri Apr 15 04:02:30 2005 +++ tinycobol/pkg-plist Thu Jan 19 22:20:41 2006 @@ -1,5 +1,9 @@ bin/htcobol +bin/htcobrun lib/libhtcobol.a +lib/libhtcobol.so +lib/libhtcobol.so.0 +lib/libhtcobol.so.0.63.0 share/htcobol/htcobolrc share/htcobol/htrtconf share/htcobol/copybooks/screen.cpy >Release-Note: >Audit-Trail: >Unformatted: