diff options
author | John Marino <marino@FreeBSD.org> | 2014-07-27 07:59:57 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-07-27 07:59:57 +0000 |
commit | 04e4ffa55084231ad0118aa40ea5a4eca8ad87a8 (patch) | |
tree | daeb186b7b7eb795f72a20dfe3024b2cd22d268f /lang/polyml | |
parent | f482a3d3e8f0121f3787102e1f72f7e64d2e6772 (diff) | |
download | ports-04e4ffa55084231ad0118aa40ea5a4eca8ad87a8.tar.gz ports-04e4ffa55084231ad0118aa40ea5a4eca8ad87a8.zip |
Notes
Diffstat (limited to 'lang/polyml')
-rw-r--r-- | lang/polyml/Makefile | 29 | ||||
-rw-r--r-- | lang/polyml/distinfo | 4 | ||||
-rw-r--r-- | lang/polyml/files/patch-elfexport.h | 11 |
3 files changed, 19 insertions, 25 deletions
diff --git a/lang/polyml/Makefile b/lang/polyml/Makefile index f3a556c2e3cb..2495a77659a2 100644 --- a/lang/polyml/Makefile +++ b/lang/polyml/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= polyml -PORTVERSION= 5.5 -PORTREVISION= 1 +PORTVERSION= 5.5.2 CATEGORIES= lang MASTER_SITES= SF DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -15,20 +14,26 @@ COMMENT= Fast open-source implementation of Standard ML LICENSE= LGPL21 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-x +CONFIGURE_ARGS= --without-x --with-system-libffi USE_GCC= yes USE_LDCONFIG= yes ONLY_FOR_ARCHS= i386 amd64 -PLIST_FILES= bin/poly \ - bin/polyimport \ - lib/libpolymain.a \ - lib/libpolymain.la \ - lib/libpolyml.a \ - lib/libpolyml.la \ - lib/libpolyml.so \ - lib/libpolyml.so.4 \ - man/man1/poly.1.gz \ +USES= libtool:keepla pkgconfig pathfix + +pre-build: + @${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 + +PLIST_FILES= bin/poly \ + bin/polyc \ + bin/polyimport \ + lib/libpolymain.a \ + lib/libpolymain.la \ + lib/libpolyml.a \ + lib/libpolyml.la \ + libdata/pkgconfig/polyml.pc \ + man/man1/poly.1.gz \ + man/man1/polyc.1.gz \ man/man1/polyimport.1.gz .include <bsd.port.mk> diff --git a/lang/polyml/distinfo b/lang/polyml/distinfo index 062b3e875848..367d0ff934fc 100644 --- a/lang/polyml/distinfo +++ b/lang/polyml/distinfo @@ -1,2 +1,2 @@ -SHA256 (polyml/polyml.5.5.tar.gz) = 2b20e597e6fe43df1b0ed01e78e410c6b51d0ac7911833e91d94fcc9eb05d831 -SIZE (polyml/polyml.5.5.tar.gz) = 5504389 +SHA256 (polyml/polyml.5.5.2.tar.gz) = 73fd2be89f7e3ff0567e27ef525ef788775d9f963d6db54069cb34d53040a682 +SIZE (polyml/polyml.5.5.2.tar.gz) = 5599140 diff --git a/lang/polyml/files/patch-elfexport.h b/lang/polyml/files/patch-elfexport.h deleted file mode 100644 index e111f2f7326d..000000000000 --- a/lang/polyml/files/patch-elfexport.h +++ /dev/null @@ -1,11 +0,0 @@ ---- libpolyml/elfexport.h.orgi 2013-02-08 16:01:09.000000000 +0800 -+++ libpolyml/elfexport.h 2013-02-08 16:01:43.000000000 +0800 -@@ -37,7 +37,7 @@ - #define ElfXX_Sym Elf64_Sym - #define ElfXX_Ehdr Elf64_Ehdr - #define ElfXX_Shdr Elf64_Shdr --#define ELFXX_R_INFO(_y, _z) ELF64_R_INFO(_y, _z) -+#define ELFXX_R_INFO(_y, _z) ELF64_R_INFO((Elf64_Xword)(_y), _z) - #define ELFXX_ST_INFO(_y, _z) ELF64_ST_INFO(_y, _z) - #define ELFCLASSXX ELFCLASS64 - #else |