Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 18:48:54 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32334: Update port: sablotron-0.71
Message-ID:  <E168kTe-000Ah3-00@3wgraphics.com>

next in thread | raw e-mail | index | archive | help

>Number:         32334
>Category:       ports
>Synopsis:       Update port: sablotron-0.71
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 27 08:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

Update port: sablotron-0.71

fixed "aggressive major version growing".
upgrade to new version.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

diff -ur sablotron-0.70/Makefile sablotron/Makefile
--- sablotron-0.70/Makefile	Sun Oct 14 20:47:49 2001
+++ sablotron/Makefile	Tue Nov 27 18:02:40 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Sablot
-PORTVERSION=	0.70
+PORTVERSION=	0.71
 CATEGORIES=	textproc
 MASTER_SITES=	http://download.gingerall.cz/sablot/
 
@@ -16,9 +16,20 @@
 		expat.2:${PORTSDIR}/textproc/expat2
 
 INSTALLS_SHLIB=	yes
+
+SHLIB_MAJOR=	66
+PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
+
 CONFIGURE_ENV=	CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+
 USE_GMAKE=	yes
-USE_AUTOCONF=	yes
+USE_AUTOMAKE=	yes
+AUTOMAKE_ARGS=	-a
 USE_LIBTOOL=	yes
+
+pre-patch:
+		@${PERL} -pi -e \
+		's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \
+		${WRKSRC}/src/engine/Makefile.am
 
 .include <bsd.port.mk>
diff -ur sablotron-0.70/distinfo sablotron/distinfo
--- sablotron-0.70/distinfo	Sun Oct 14 20:47:49 2001
+++ sablotron/distinfo	Tue Nov  6 17:53:15 2001
@@ -1 +1 @@
-MD5 (Sablot-0.70.tar.gz) = c7e68658c10ca6f92dbf27c18270dc31
+MD5 (Sablot-0.71.tar.gz) = 628eecce46a4f7597b90951366daaa5e
diff -ur sablotron-0.70/pkg-plist sablotron/pkg-plist
--- sablotron-0.70/pkg-plist	Sun Oct 14 20:47:49 2001
+++ sablotron/pkg-plist	Wed Nov 21 18:39:55 2001
@@ -4,4 +4,4 @@
 include/shandler.h
 lib/libsablot.a
 lib/libsablot.so
-lib/libsablot.so.70
+lib/libsablot.so.%%SHLIB_MAJOR%%
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E168kTe-000Ah3-00>