From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 18 05:10:02 2008 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 157E51065670 for ; Thu, 18 Sep 2008 05:10:02 +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 E6FB78FC20 for ; Thu, 18 Sep 2008 05:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8I5A1h1060145 for ; Thu, 18 Sep 2008 05:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8I5A1B2060144; Thu, 18 Sep 2008 05:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 18 Sep 2008 05:10:01 GMT Resent-Message-Id: <200809180510.m8I5A1B2060144@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, "Andrei V. Shetuhin" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8DB91065671 for ; Thu, 18 Sep 2008 05:06:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D8BCB8FC28 for ; Thu, 18 Sep 2008 05:06:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m8I56fbF092076 for ; Thu, 18 Sep 2008 05:06:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m8I56e7d092075; Thu, 18 Sep 2008 05:06:40 GMT (envelope-from nobody) Message-Id: <200809180506.m8I56e7d092075@www.freebsd.org> Date: Thu, 18 Sep 2008 05:06:40 GMT From: "Andrei V. Shetuhin" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127462: new version of textproc/ctpp2 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: Thu, 18 Sep 2008 05:10:02 -0000 >Number: 127462 >Category: ports >Synopsis: new version of textproc/ctpp2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 05:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andrei V. Shetuhin >Release: FreeBSD 7.0-STABLE >Organization: SUP Fabrik >Environment: FreeBSD adolf.havoc.ru 7.0-STABLE FreeBSD 7.0-STABLE #2: Mon Aug 4 13:22:15 MSD 2008 root@adolf.havoc.ru:/usr/obj/usr/src/sys/STELLAR i386 >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ur ctpp2.old/Makefile ctpp2/Makefile --- ctpp2.old/Makefile 2008-09-18 08:52:34.000000000 +0400 +++ ctpp2/Makefile 2008-09-18 08:58:09.000000000 +0400 @@ -6,8 +6,7 @@ # PORTNAME= ctpp2 -PORTVERSION= 2.3.5 -PORTREVISION= 1 +PORTVERSION= 2.3.10 CATEGORIES= textproc devel MASTER_SITES= http://ctpp.havoc.ru/download/ \ LOCAL/glarkin @@ -20,46 +19,4 @@ USE_GETTEXT= yes USE_ICONV= yes -.include - -# Let me explain - GCC 3.4 does not support -mtune=generic, so -# TUNE_PARAM is set to the platform-specific value. If the platform -# is not i386 nor amd64, just disable -mtune altogether. -# -# If the system GCC 4.2+, simply use -mtune=generic for i386 and -# amd64. Once again, disable -mtune for other platforms. -.if ${OSVERSION} < 700042 -. if ${ARCH} == "i386" -TUNE_PARAM=i686 -HASHMARK= -. elif ${ARCH} == "amd64" -TUNE_PARAM=athlon64 -HASHMARK= -. else -TUNE_PARAM= -HASHMARK=\# -. endif -.else -. if ${ARCH} == "i386" || ${ARCH} == "amd64" -TUNE_PARAM=generic -HASHMARK= -. else -TUNE_PARAM= -HASHMARK=\# -. endif -.endif - -# -# This is not ideal, but because of the way CMakeLists.txt is structured, -# I have to apply a 2nd patch if -mtune is not used at all (non-i386 and -# non-amd64 arch). -# -.if ${TUNE_PARAM} == "" -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-CMakeLists.txt -.endif - -post-patch: - @${REINPLACE_CMD} -e 's,%%TUNE_PARAM%%,${TUNE_PARAM},' \ - -e 's,%%HASHMARK%%,${HASHMARK},' ${WRKSRC}/CMakeLists.txt - -.include +.include Only in ctpp2: ctpp2-2.3.10.tbz diff -ur ctpp2.old/distinfo ctpp2/distinfo --- ctpp2.old/distinfo 2008-09-18 08:52:34.000000000 +0400 +++ ctpp2/distinfo 2008-09-18 08:55:48.000000000 +0400 @@ -1,3 +1,3 @@ -MD5 (ctpp2-2.3.5.tar.gz) = cd65c95100fd6bcae39aac35dd6dc8dc -SHA256 (ctpp2-2.3.5.tar.gz) = 57363827b305514ef3d42ab6998e53f5e443141d2f84a9a3e9786e76179b8617 -SIZE (ctpp2-2.3.5.tar.gz) = 135090 +MD5 (ctpp2-2.3.10.tar.gz) = f4d388c3761d8e7f4a8449346085f8d9 +SHA256 (ctpp2-2.3.10.tar.gz) = f0c43b35cf283df9648f2b8c696be740c5a19026544cddf513a4bca54039668b +SIZE (ctpp2-2.3.10.tar.gz) = 139093 Only in ctpp2.old/files: extra-patch-CMakeLists.txt Only in ctpp2.old/files: patch-CMakeLists.txt.in diff -ur ctpp2.old/pkg-plist ctpp2/pkg-plist --- ctpp2.old/pkg-plist 2008-09-18 08:52:34.000000000 +0400 +++ ctpp2/pkg-plist 2008-09-18 08:55:25.000000000 +0400 @@ -48,7 +48,7 @@ lib/libctpp2-st.a lib/libctpp2.so lib/libctpp2.so.2 -lib/libctpp2.so.2.3.5 +lib/libctpp2.so.2.3.10 share/locale/ru_RU.CP1251/LC_MESSAGES/ctpp2.mo share/locale/ru_RU.KOI8-R/LC_MESSAGES/ctpp2.mo @dirrmtry share/locale/ru_RU.KOI8-R/LC_MESSAGES >Release-Note: >Audit-Trail: >Unformatted: