pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Updated Polyml to latest version 5.9. The patches are not required (at least on macos/darwin).



Module Name:	pkgsrc-wip
Committed By:	Pete Padilla <ppadilcdx+wip%gmail.com@localhost>
Pushed By:	ppadilcdx
Date:		Sat Mar 4 10:28:49 2023 -0800
Changeset:	ff16f82b17aba7088df319ebfd332375ee61264d

Modified Files:
	Makefile
Added Files:
	polyml/.DS_Store
	polyml/DESCR
	polyml/MESSAGE
	polyml/Makefile
	polyml/PLIST
	polyml/README.html
	polyml/buildlink3.mk
	polyml/distinfo
	polyml/options.mk

Log Message:
Updated Polyml to latest version 5.9.  The patches are not required (at least on macos/darwin).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ff16f82b17aba7088df319ebfd332375ee61264d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |   1 +
 polyml/.DS_Store     | Bin 0 -> 6148 bytes
 polyml/DESCR         |   2 ++
 polyml/MESSAGE       |  10 ++++++++++
 polyml/Makefile      |  33 +++++++++++++++++++++++++++++++++
 polyml/PLIST         |  11 +++++++++++
 polyml/README.html   |   1 +
 polyml/buildlink3.mk |  14 ++++++++++++++
 polyml/distinfo      |   9 +++++++++
 polyml/options.mk    |  27 +++++++++++++++++++++++++++
 10 files changed, 108 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9e5cd6f886..a7f885566c 100644
--- a/Makefile
+++ b/Makefile
@@ -3224,6 +3224,7 @@ SUBDIR+=	polipo
 SUBDIR+=	polkit-kde-agent
 SUBDIR+=	polyclipping
 SUBDIR+=	polylib
+SUBDIR+=	polyml
 SUBDIR+=	polymul
 SUBDIR+=	ponyc
 SUBDIR+=	pooler
diff --git a/polyml/.DS_Store b/polyml/.DS_Store
new file mode 100644
index 0000000000..5008ddfcf5
Binary files /dev/null and b/polyml/.DS_Store differ
diff --git a/polyml/DESCR b/polyml/DESCR
new file mode 100644
index 0000000000..5b85852acc
--- /dev/null
+++ b/polyml/DESCR
@@ -0,0 +1,2 @@
+Poly/ML is Standard ML implementation fully conforming to the 1997
+"Definition of Standard ML (Revised)", generally known as ML97.
diff --git a/polyml/MESSAGE b/polyml/MESSAGE
new file mode 100644
index 0000000000..234c6b4ea6
--- /dev/null
+++ b/polyml/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/03/20 21:12:51 asau Exp $
+
+Default value for immutable buffer size is 1024 MB,
+unless you have sufficient resources, you might wish
+to use lower values, like 10 MB:
+
+    poly -H 10
+
+===========================================================================
diff --git a/polyml/Makefile b/polyml/Makefile
new file mode 100644
index 0000000000..10fdea2146
--- /dev/null
+++ b/polyml/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.27 2022/12/21 11:51:21 wiz Exp $
+
+DISTNAME=	polyml-5.9
+PKGREVISION=	1
+CATEGORIES=	lang
+MASTER_SITES=	${MASTER_SITE_GITHUB:=polyml/}
+GITHUB_PROJECT=	polyml
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	asau%inbox.ru@localhost
+HOMEPAGE=	https://polyml.org/
+COMMENT=	Implementation of Standard ML
+
+# ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64 *-*-sparc *-*-powerpc
+
+NOT_PAX_ASLR_SAFE+=	bin/poly
+NOT_PAX_MPROTECT_SAFE+=	bin/poly
+
+WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-system-libffi
+USE_LIBTOOL=	yes
+USE_LANGUAGES=	c gnu++03
+TEST_TARGET=	tests
+
+PKGCONFIG_OVERRIDE=	libpolyml/polyml.pc.in
+
+.include "options.mk"
+
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/polyml/PLIST b/polyml/PLIST
new file mode 100644
index 0000000000..7aabd2d5a3
--- /dev/null
+++ b/polyml/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/poly
+bin/polyc
+bin/polyimport
+lib/libpolymain.la
+lib/libpolyml.la
+lib/pkgconfig/polyml.pc
+lib/polyml/modules/IntInfAsInt
+man/man1/poly.1
+man/man1/polyc.1
+man/man1/polyimport.1
diff --git a/polyml/README.html b/polyml/README.html
new file mode 120000
index 0000000000..64233a9e95
--- /dev/null
+++ b/polyml/README.html
@@ -0,0 +1 @@
+index.html
\ No newline at end of file
diff --git a/polyml/buildlink3.mk b/polyml/buildlink3.mk
new file mode 100644
index 0000000000..f5f6354ffb
--- /dev/null
+++ b/polyml/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.2 2021/03/05 09:19:58 jaapb Exp $
+
+BUILDLINK_TREE+=	polyml
+
+.if !defined(POLYML_BUILDLINK3_MK)
+POLYML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.polyml+=	polyml>=5.8.1
+BUILDLINK_ABI_DEPENDS.polyml+=	polyml>=5.8.1
+BUILDLINK_PKGSRCDIR.polyml?=	../../lang/polyml
+.endif	# POLYML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-polyml
+
diff --git a/polyml/distinfo b/polyml/distinfo
new file mode 100644
index 0000000000..9d035efd5f
--- /dev/null
+++ b/polyml/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.20 2021/10/26 10:51:48 nia Exp $
+
+BLAKE2s (polyml-5.9.tar.gz) = f28611281e1ebf90118a159f276cc19fbd161fe6bceacc58a02136b4f71e0e6f
+SHA512 (polyml-5.9.tar.gz) = e996cbe820216e854a50ba214f2a2a0291ee3279eb35be4126b6558bc1582732a236156fb8d0f548b31fca4a496db62ece83d902b6f5e72de64507fdef602e45
+Size (polyml-5.9.tar.gz) = 3764115 bytes
+SHA1 (patch-Makefile.in) = 67c65cd8dab476cf72f922576da265e649464ec6
+SHA1 (patch-configure) = 3df85bb0adac4bfd68fffa32c41944f21eaf8c40
+SHA1 (patch-configure.ac) = 63817ba1fd42bae03da67f74b5b97dda32b02118
+SHA1 (patch-libpolyml_elfexport.cpp) = 3dfde6483eca0778504265a8e92cad8ef86d72d3
diff --git a/polyml/options.mk b/polyml/options.mk
new file mode 100644
index 0000000000..bb09ec24a9
--- /dev/null
+++ b/polyml/options.mk
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.2 2012/06/15 09:20:28 asau Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.polyml
+PKG_SUPPORTED_OPTIONS=	motif x11 gmp
+PKG_SUGGESTED_OPTIONS=	motif x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+=	--with-x
+
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mmotif)
+.include "../../mk/motif.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgmp)
+CONFIGURE_ARGS+=	--with-gmp=yes
+.include "../../devel/gmp/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--with-gmp=no
+.endif


Home | Main Index | Thread Index | Old Index