ports/127462: new version of textproc/ctpp2

Andrei V. Shetuhin reki at reki.ru
Thu Sep 18 05:10:02 UTC 2008


>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 at 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 <bsd.port.pre.mk>
-
-# 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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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:



More information about the freebsd-ports-bugs mailing list