View | Details | Raw Unified | Return to bug 203467 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +5 lines)
Lines 1-5 Link Here
1
# Created by: Timothy Bourke <timbob@bigpond.com>
1
# Created by: Timothy Bourke <timbob@bigpond.com>
2
# $FreeBSD$
2
# $FreeBSD: head/lang/polyml/Makefile 363649 2014-07-31 18:43:35Z swills $
3
3
4
PORTNAME=	polyml
4
PORTNAME=	polyml
5
PORTVERSION=	5.5.2
5
PORTVERSION=	5.5.2
Lines 17-23 Link Here
17
LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
17
LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-system-libffi
20
CONFIGURE_ARGS=	--with-system-libffi --enable-shared
21
USES=		libtool pkgconfig pathfix
21
USES=		libtool pkgconfig pathfix
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
ONLY_FOR_ARCHS=	i386 amd64
23
ONLY_FOR_ARCHS=	i386 amd64
Lines 32-35 Link Here
32
pre-build:
32
pre-build:
33
	@${REINPLACE_CMD} "s|ELFXX_R_INFO(_y, _z)    ELF64_R_INFO(_y, _z)|ELFXX_R_INFO(_y, _z)    ELF64_R_INFO((Elf64_Xword)(_y), _z)|g" ${WRKSRC}/libpolyml/elfexport.h
33
	@${REINPLACE_CMD} "s|ELFXX_R_INFO(_y, _z)    ELF64_R_INFO(_y, _z)|ELFXX_R_INFO(_y, _z)    ELF64_R_INFO((Elf64_Xword)(_y), _z)|g" ${WRKSRC}/libpolyml/elfexport.h
34
34
35
post-patch:
36
	@${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure
37
35
.include <bsd.port.mk>
38
.include <bsd.port.mk>

Return to bug 203467