freebsd-ports/math/GiNaC/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

35 lines
794 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= GiNaC
PORTVERSION= 1.6.2
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
MAINTAINER= stephen@FreeBSD.org
COMMENT= C++ library for symbolic mathematical calculations
LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
USE_BZIP2= yes
USES= pkgconfig pathfix gmake
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= ginac ginac-examples
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
.if ${ARCH} != "i386"
@${REINPLACE_CMD} -e 's|unsigned|size_t|g' \
${WRKSRC}/ginac/parser/parser.cpp
.endif
.include <bsd.port.post.mk>