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 -.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 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