Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 07:59:57 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363018 - in head/lang/polyml: . files
Message-ID:  <201407270759.s6R7xv0c051308@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jul 27 07:59:57 2014
New Revision: 363018
URL: http://svnweb.freebsd.org/changeset/ports/363018
QAT: https://qat.redports.org/buildarchive/r363018/

Log:
  lang/polyml: Upgrade version 5.5 => 5.5.2
  
  Also:
    * add support for system libffi
    * Use sed instead of patch to fix configure
    * Adopt modern port conventions
  
  PR:		191914
  Submitted by:	maintainer (Timothy Beyer)

Deleted:
  head/lang/polyml/files/
Modified:
  head/lang/polyml/Makefile
  head/lang/polyml/distinfo

Modified: head/lang/polyml/Makefile
==============================================================================
--- head/lang/polyml/Makefile	Sun Jul 27 07:50:11 2014	(r363017)
+++ head/lang/polyml/Makefile	Sun Jul 27 07:59:57 2014	(r363018)
@@ -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
 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>

Modified: head/lang/polyml/distinfo
==============================================================================
--- head/lang/polyml/distinfo	Sun Jul 27 07:50:11 2014	(r363017)
+++ head/lang/polyml/distinfo	Sun Jul 27 07:59:57 2014	(r363018)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407270759.s6R7xv0c051308>