Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2014 18:43:35 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363649 - head/lang/polyml
Message-ID:  <201407311843.s6VIhZAk043675@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Jul 31 18:43:35 2014
New Revision: 363649
URL: http://svnweb.freebsd.org/changeset/ports/363649
QAT: https://qat.redports.org/buildarchive/r363649/

Log:
  lang/polyml: depend on ffi, use pkg-plist, add motif option
  
  PR:		192165
  Approved by:	Timothy Beyer <beyert@cs.ucr.edu> (maintainer)

Added:
  head/lang/polyml/pkg-plist   (contents, props changed)
Modified:
  head/lang/polyml/Makefile

Modified: head/lang/polyml/Makefile
==============================================================================
--- head/lang/polyml/Makefile	Thu Jul 31 18:30:51 2014	(r363648)
+++ head/lang/polyml/Makefile	Thu Jul 31 18:43:35 2014	(r363649)
@@ -3,6 +3,7 @@
 
 PORTNAME=	polyml
 PORTVERSION=	5.5.2
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}.${PORTVERSION}
@@ -13,27 +14,22 @@ COMMENT=	Fast open-source implementation
 
 LICENSE=	LGPL21
 
+LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--without-x --with-system-libffi
-USE_GCC=	yes
+CONFIGURE_ARGS=	--with-system-libffi
+USES=		libtool pkgconfig pathfix
 USE_LDCONFIG=	yes
 ONLY_FOR_ARCHS=	i386 amd64
 
-USES=	libtool:keepla pkgconfig pathfix
+OPTIONS_DEFINE=	MOTIF
+
+.include <bsd.port.options.mk>
+
+MOTIF_CONFIGURE_WITH=	x
+MOTIF_USE=		motif
 
 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>

Added: head/lang/polyml/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/polyml/pkg-plist	Thu Jul 31 18:43:35 2014	(r363649)
@@ -0,0 +1,9 @@
+bin/poly
+bin/polyc
+bin/polyimport
+lib/libpolymain.a
+lib/libpolyml.a
+libdata/pkgconfig/polyml.pc
+man/man1/poly.1.gz
+man/man1/polyc.1.gz
+man/man1/polyimport.1.gz



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