ports/57844: Update port: math/GiNaC to 1.1.3

KATO Tsuguru tkato at prontomail.com
Fri Oct 10 16:20:13 UTC 2003


>Number:         57844
>Category:       ports
>Synopsis:       Update port: math/GiNaC to 1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 10 09:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>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
- at unexec install-info --delete %D/info/ginac.info %D/info/dir
-info/ginac.info
- at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list