blob: 350bf0bf51388f7c8665d36e32bcba7d02072646 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Timothy Bourke <timbob@bigpond.com>
# $FreeBSD$
PORTNAME= polyml
PORTVERSION= 5.6
DISTVERSIONPREFIX= v
CATEGORIES= lang
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Fast open-source implementation of Standard ML
LICENSE= LGPL21
LIB_DEPENDS= libffi.so:devel/libffi
ONLY_FOR_ARCHS= i386 amd64
USE_GITHUB= yes
USES= libtool pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-system-libffi --enable-shared
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= MOTIF
MOTIF_CONFIGURE_WITH= x
MOTIF_USE= motif
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++ ||' ${WRKSRC}/configure
@${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
.include <bsd.port.mk>
|