diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-10 17:54:50 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-10 17:54:50 +0000 |
commit | 0184ced793f2ee2a229be6167ab81b461997d91d (patch) | |
tree | 8f3ec1dd169aae5b9240b87817322a54b5f75af8 /math/GiNaC/Makefile | |
parent | c8a11859fb2167a1de11d97bc44eba2961df1d83 (diff) | |
download | ports-0184ced793f2ee2a229be6167ab81b461997d91d.tar.gz ports-0184ced793f2ee2a229be6167ab81b461997d91d.zip |
Notes
Diffstat (limited to 'math/GiNaC/Makefile')
-rw-r--r-- | math/GiNaC/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile index 47a0138374e2..7675a074804e 100644 --- a/math/GiNaC/Makefile +++ b/math/GiNaC/Makefile @@ -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 @@ COMMENT= A C++ library for symbolic mathematical calculations 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> |