From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 4 21:00:23 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CF37106564A for ; Sat, 4 Feb 2012 21:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E15AD8FC12 for ; Sat, 4 Feb 2012 21:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q14L0MJ6065669 for ; Sat, 4 Feb 2012 21:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q14L0M8j065668; Sat, 4 Feb 2012 21:00:22 GMT (envelope-from gnats) Resent-Date: Sat, 4 Feb 2012 21:00:22 GMT Resent-Message-Id: <201202042100.q14L0M8j065668@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, Frank Ebert Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E6001065672 for ; Sat, 4 Feb 2012 20:55:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 67C4E8FC17 for ; Sat, 4 Feb 2012 20:55:41 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q14KteXl029298 for ; Sat, 4 Feb 2012 20:55:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q14Kte4p029297; Sat, 4 Feb 2012 20:55:40 GMT (envelope-from nobody) Message-Id: <201202042055.q14Kte4p029297@red.freebsd.org> Date: Sat, 4 Feb 2012 20:55:40 GMT From: Frank Ebert To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164774: Scid 4.3 available X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 21:00:23 -0000 >Number: 164774 >Category: ports >Synopsis: Scid 4.3 available >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 04 21:00:22 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Frank Ebert >Release: 9.0 >Organization: >Environment: FreeBSD freebsd.domain.local 9.0-RELEASE FreeBSD 9.0-RELEASE #4: Mon Jan 2 19:26:09 CET 2012 frank@freebsd.domain.local:/usr/obj/usr/src/sys/GENERIC amd64 >Description: There is a new version of scid available: "The latest full release is 4.3; see the Downloads page. This version was released February, 2011." >How-To-Repeat: >Fix: Patch attached with submission follows: >From c83a0b5ce6e50798783effbb6d921130431d35f1 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 4 Feb 2012 10:26:41 +0100 Subject: [PATCH] Update to Scid 4.3. --- games/scid/Makefile | 27 +++++++---- games/scid/distinfo | 4 +- games/scid/files/patch-Makefile | 85 ---------------------------------- games/scid/files/patch-Makefile.conf | 11 ++++ 4 files changed, 30 insertions(+), 97 deletions(-) delete mode 100644 games/scid/files/patch-Makefile create mode 100644 games/scid/files/patch-Makefile.conf diff --git a/games/scid/Makefile b/games/scid/Makefile index ca30642..039233f 100644 --- a/games/scid/Makefile +++ b/games/scid/Makefile @@ -7,9 +7,9 @@ # PORTNAME= scid -PORTVERSION= 4.2.2 +PORTVERSION= 4.3 CATEGORIES= games databases -MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.2/ +MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.3/ MAINTAINER= bsd@volki.at COMMENT= A free chess database application @@ -17,25 +17,32 @@ COMMENT= A free chess database application USE_TK= 84+ INVALID_TCL_VER= 86 +HAS_CONFIGURE= yes USE_BZIP2= yes USE_PYTHON= yes USE_GMAKE= yes +MAKE_JOBS_SAFE= yes + +TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${USE_TCL}${_TCL_THREADS_SUFFIX} + +CONFIGURE_ARGS= \ + BINDIR="${PREFIX}/bin" \ + SHAREDIR="${PREFIX}/share/scid" \ + TCL_VERSION="${TCL_VER}" \ + TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \ + TCL_LIBRARY="${TCL_LIBRARY}" \ + TK_LIBRARY="${TCL_LIBRARY} -ltk${USE_TK}${_TCL_THREADS_SUFFIX} -lX11" \ + OPTIMIZE="${CXXFLAGS} -fno-rtti -fno-exceptions" \ + WARNINGS="" ALL_TARGET= all strip WRKSRC= ${WRKDIR}/${PORTNAME} .include -MAKE_ARGS+= TCL_VER="${TCL_VER}" \ - TCL_LIBVER="${TCL_VER:S/.//}" \ - TCL_THREADS_SUFFIX="${_TCL_THREADS_SUFFIX}" \ - TCL_LIBDIR="${TCL_LIBDIR}" \ - TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \ - TK_LIBDIR="${TK_LIBDIR}" \ - TK_INCLUDEDIR="${TK_INCLUDEDIR}" .if defined(USE_TCL_THREADS) -MAKE_ARGS+= PTHREAD_LIBS="${PTHREAD_LIBS}" +TCL_LIBRARY+= ${PTHREAD_LIBS} .endif .include diff --git a/games/scid/distinfo b/games/scid/distinfo index c8c1422..b5404e1 100644 --- a/games/scid/distinfo +++ b/games/scid/distinfo @@ -1,2 +1,2 @@ -SHA256 (scid-4.2.2.tar.bz2) = 24a22e7e8abf3a0e1f1cc52c0fa9ecfcca8432324a229e49973faf41c20bb673 -SIZE (scid-4.2.2.tar.bz2) = 14045085 +SHA256 (scid-4.3.tar.bz2) = 3cc3405ef7d49adf633b26ec633173bf4e42aec0aeb93d857d84a34ec0c5657d +SIZE (scid-4.3.tar.bz2) = 12029115 diff --git a/games/scid/files/patch-Makefile b/games/scid/files/patch-Makefile deleted file mode 100644 index a56702c..0000000 --- a/games/scid/files/patch-Makefile +++ /dev/null @@ -1,85 +0,0 @@ ---- Makefile.orig 2010-01-20 10:48:13.000000000 +0100 -+++ Makefile 2010-05-08 20:45:30.000000000 +0200 -@@ -9,16 +9,16 @@ - - # BINDIR: where the Scid programs are copied for "make install". - # --BINDIR = /usr/local/bin -+BINDIR = ${PREFIX}/bin - - # SHAREDIR: where scid.eco is copied for "make install". - # --SHAREDIR = /usr/local/share/scid -+SHAREDIR = ${PREFIX}/share/scid - - ### TCL_VERSION: Set this according to the version of Tcl/Tk you have - # installed that you want Scid to use: 8.0, 8.1, 8.2, 8.3, etc. - # --TCL_VERSION = 8.5 -+TCL_VERSION = ${TCL_VER} - - # TCL_INCLUDE, TCL_LIBRARY, TK_LIBRARY: these are the compiler options - # needed for linking Scid with Tcl/Tk. The program "./configure" -@@ -27,9 +27,9 @@ - # - # The settings determined by "./configure" are: - # --TCL_INCLUDE = -I/usr/include --TCL_LIBRARY = -L/usr/lib -ltcl$(TCL_VERSION) -ldl --TK_LIBRARY = $(TCL_LIBRARY) -ltk$(TCL_VERSION) -lX11 -+#TCL_INCLUDE = -I/usr/include -+#TCL_LIBRARY = -L/usr/lib -ltcl$(TCL_VERSION) -ldl -+#TK_LIBRARY = $(TCL_LIBRARY) -ltk$(TCL_VERSION) -lX11 - - ### Here are other commonly used settings for the Tcl/Tk compiler options: - -@@ -49,11 +49,10 @@ - # TCL_LIBRARY = -L /usr/lib -ltcl$(TCL_VERSION) -ldl - # TK_LIBRARY = $(TCL_LIBRARY) -L /usr/X11R6/lib -ltk$(TCL_VERSION) -lX11 - --# Someone sent me these settings for FreeBSD with Tcl/Tk 8.0: - ### FreeBSD: --# TCL_INCLUDE = -I /usr/local/include/tcl8.0 -I /usr/local/include/tk8.0 --# TCL_LIBRARY = -L /usr/local/lib -ltcl80 -ldl --# TK_LIBRARY = $(TCL_LIBRARY) -ltk80 -L /usr/X11/lib -lX11 -+TCL_INCLUDE = -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include -+TCL_LIBRARY = -L${LOCALBASE}/lib -ltcl${TCL_LIBVER}${TCL_THREADS_SUFFIX} ${PTHREAD_LIBS} -+TK_LIBRARY = $(TCL_LIBRARY) -ltk${TCL_LIBVER}${TCL_THREADS_SUFFIX} -L${LOCALBASE}/lib -lX11 ${PTHREAD_LIBS} - - - ######################################## -@@ -80,7 +79,7 @@ - # On some systems, adding "-fno-rtti" and "-fno-exceptions" produces - # smaller, faster programs since Scid does not use those C++ features. - # --OPTIMIZE = -O4 -fno-rtti -fno-exceptions -+OPTIMIZE = ${CXXFLAGS} -fno-rtti -fno-exceptions - - ### DEBUG: Defining the macro ASSERTIONS will turn on assertions, which - # helps to track bugs after modifications, but the programs will run -@@ -91,7 +90,7 @@ - ### WARNINGS: I always compile with all warnings on (-Wall), and all the - # files should compile warning-free using g++. - # --WARNINGS = -Wall -+WARNINGS = - - ### PROFILE: Set this to "-pg" for profiling in g++ and gcc. - # -@@ -143,11 +142,11 @@ - - ### ZLIBOBJS: object files in the zlib compression library. - # --ZLIBOBJS= src/zlib/adler32.o src/zlib/compress.o src/zlib/crc32.o \ -- src/zlib/gzio.o src/zlib/uncompr.o src/zlib/deflate.o src/zlib/trees.o \ -- src/zlib/zutil.o src/zlib/inflate.o src/zlib/infblock.o \ -- src/zlib/inftrees.o src/zlib/infcodes.o src/zlib/infutil.o \ -- src/zlib/inffast.o -+#ZLIBOBJS= src/zlib/adler32.o src/zlib/compress.o src/zlib/crc32.o \ -+# src/zlib/gzio.o src/zlib/uncompr.o src/zlib/deflate.o src/zlib/trees.o \ -+# src/zlib/zutil.o src/zlib/inflate.o src/zlib/infblock.o \ -+# src/zlib/inftrees.o src/zlib/infcodes.o src/zlib/infutil.o \ -+# src/zlib/inffast.o - - - ### ZLIB: Should be "-lz" if your system has zlib, "" otherwise. diff --git a/games/scid/files/patch-Makefile.conf b/games/scid/files/patch-Makefile.conf new file mode 100644 index 0000000..209eb1e --- /dev/null +++ b/games/scid/files/patch-Makefile.conf @@ -0,0 +1,11 @@ +--- Makefile.conf.orig 2011-02-15 19:01:57.000000000 +0100 ++++ Makefile.conf 2012-02-04 12:19:08.000000000 +0100 +@@ -300,7 +300,7 @@ + + ### To make the executable files smaller: type "make strip". + # +-strip: ++strip: $(EXECS) + strip $(EXECS) + + ### To compress scid and executables with gzexe: type "make gzexe". -- 1.7.9 >Release-Note: >Audit-Trail: >Unformatted: