From tkato@prontomail.com  Fri Oct 10 09:08:00 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D2E7816A4B3
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 10 Oct 2003 09:08:00 -0700 (PDT)
Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3CBD343F75
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 10 Oct 2003 09:07:59 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.204.120.214]) by hfep04.dion.ne.jp with SMTP
          id <20031010160755531.HDV@hfep04.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Sat, 11 Oct 2003 01:07:55 +0900
Message-Id: <20031011010753.5d55f458.tkato@prontomail.com>
Date: Sat, 11 Oct 2003 01:07:53 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: math/GiNaC to 1.1.3

>Number:         57842
>Category:       ports
>Synopsis:       Update port: math/GiNaC to 1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 10 09:10:19 PDT 2003
>Closed-Date:    Fri Oct 10 10:55:06 PDT 2003
>Last-Modified:  Fri Oct 10 10:55:06 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.1.3

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/GiNaC/Makefile math/GiNaC/Makefile
--- /usr/ports/math/GiNaC/Makefile	Sat Jun 28 09:08:20 2003
+++ math/GiNaC/Makefile	Fri Oct 10 11:15:10 2003
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	GiNaC
-PORTVERSION=	1.1.0
-PORTREVISION=	0
+PORTVERSION=	1.1.3
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
 		http://www.ginac.de/
@@ -18,34 +17,30 @@
 
 LIB_DEPENDS=	cln.2:${PORTSDIR}/math/cln
 
-USE_REINPLACE=	yes
 USE_BZIP2=	yes
-USE_GCC=	3.2
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib" \
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
 		MAKEINFO="makeinfo --no-split"
 INSTALLS_SHLIB=	yes
 
 MAN1=	ginac-config.1 ginsh.1 viewgar.1
+INFO=	ginac
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-IGNORE=	"needs gcc32 and cln must be built with gcc32"
+.if ${OSVERSION} < 500035
+BUILD_DEPENDS+=	${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+RUN_DEPENDS+=	${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+CPPFLAGS+=	-I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS}
+LDFLAGS+=	-lstlport_gcc ${PTHREAD_LIBS}
 .endif
 
 post-extract:
 	@${RM} -f ${WRKSRC}/doc/tutorial/ginac.info*
-
-post-patch:
-.for file in configure ginac/numeric.cpp ginac/tostring.h
-	@${REINPLACE_CMD} -e 's|sstream|strstream|g ; \
-		 s|stringstream|strstream|g' ${WRKSRC}/${file}
-.endfor
-	@${REINPLACE_CMD} -e 's|-release \$$(LT_RELEASE)||g' \
-		${WRKSRC}/ginac/Makefile.in
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/math/GiNaC/distinfo math/GiNaC/distinfo
--- /usr/ports/math/GiNaC/distinfo	Sat Apr 12 22:56:55 2003
+++ math/GiNaC/distinfo	Tue Sep  2 05:33:31 2003
@@ -1 +1 @@
-MD5 (GiNaC-1.1.0.tar.bz2) = 30c86d96a9d9d689ff0981409b038906
+MD5 (GiNaC-1.1.3.tar.bz2) = 4b3b5ea4ac9650d6bcd4708e43a3a532
diff -urN /usr/ports/math/GiNaC/pkg-plist math/GiNaC/pkg-plist
--- /usr/ports/math/GiNaC/pkg-plist	Sat Apr 12 22:56:55 2003
+++ math/GiNaC/pkg-plist	Fri Oct 10 11:40:18 2003
@@ -17,6 +17,7 @@
 include/ginac/flags.h
 include/ginac/function.h
 include/ginac/ginac.h
+include/ginac/hash_map.h
 include/ginac/idx.h
 include/ginac/indexed.h
 include/ginac/inifcns.h
@@ -39,11 +40,9 @@
 include/ginac/tinfos.h
 include/ginac/version.h
 include/ginac/wildcard.h
-@unexec install-info --delete %D/info/ginac.info %D/info/dir
-info/ginac.info
-@exec install-info %D/info/ginac.info %D/info/dir
 lib/libginac.a
 lib/libginac.so
-lib/libginac.so.0
+lib/libginac-1.1.so
+lib/libginac-1.1.so.3
 share/aclocal/ginac.m4
 @dirrm include/ginac
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Fri Oct 10 10:55:00 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57842 
>Unformatted:
