Changeset View
Changeset View
Standalone View
Standalone View
lang/polyml/Makefile
# Created by: Timothy Bourke <timbob@bigpond.com> | # Created by: Timothy Bourke <timbob@bigpond.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= polyml | PORTNAME= polyml | ||||
PORTVERSION= 5.6 | PORTVERSION= 5.7.1 | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= lang | CATEGORIES= lang | ||||
DIST_SUBDIR= ${PORTNAME} | DIST_SUBDIR= ${PORTNAME} | ||||
MAINTAINER= beyert@cs.ucr.edu | MAINTAINER= beyert@cs.ucr.edu | ||||
COMMENT= Fast open-source implementation of Standard ML | COMMENT= Fast open-source implementation of Standard ML | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
ONLY_FOR_ARCHS= amd64 i386 | |||||
LIB_DEPENDS= libffi.so:devel/libffi | LIB_DEPENDS= libffi.so:devel/libffi | ||||
ONLY_FOR_ARCHS= i386 amd64 | USES= libtool pathfix pkgconfig | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
USES= libtool pathfix pkgconfig | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --with-system-libffi --enable-shared | CONFIGURE_ARGS= --with-system-libffi --enable-shared | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
OPTIONS_DEFINE= MOTIF | OPTIONS_DEFINE= MOTIF | ||||
MOTIF_CONFIGURE_WITH= x | MOTIF_CONFIGURE_WITH= x | ||||
MOTIF_USE= motif | MOTIF_USE= motif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|-lstdc++ ||' ${WRKSRC}/configure | @${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 | @${REINPLACE_CMD} -e 's| modules||' ${WRKSRC}/Makefile.in | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |