pkgsrc-WIP-changes archive

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

libffi-git: new package for debugging



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Jan 28 16:53:08 2017 +0100
Changeset:	c27b9f4d8122186c193a52877bb410d2c1371bbd

Modified Files:
	Makefile
Added Files:
	libffi-git/DESCR
	libffi-git/Makefile
	libffi-git/PLIST
	libffi-git/distinfo

Log Message:
libffi-git: new package for debugging

https://github.com/libffi/libffi/issues/294

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

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

diffstat:
 Makefile            |  4 ++--
 libffi-git/DESCR    | 20 ++++++++++++++++++++
 libffi-git/Makefile | 32 ++++++++++++++++++++++++++++++++
 libffi-git/PLIST    | 10 ++++++++++
 libffi-git/distinfo |  6 ++++++
 5 files changed, 70 insertions(+), 2 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 90e5838..bc62c2e 100644
--- a/Makefile
+++ b/Makefile
@@ -382,8 +382,8 @@ SUBDIR+=	clutter-gst
 SUBDIR+=	cm-unicode-ttf
 SUBDIR+=	cmetrics
 SUBDIR+=	cmusfm
-SUBDIR+=	collectd-unbound
 SUBDIR+=	coldfire
+SUBDIR+=	collectd-unbound
 SUBDIR+=	colord
 SUBDIR+=	colord-gtk
 SUBDIR+=	colorfull
@@ -759,7 +759,6 @@ SUBDIR+=	flightgear
 SUBDIR+=	flightgear-data
 SUBDIR+=	flim
 SUBDIR+=	flimp
-SUBDIR+=	flimp
 SUBDIR+=	flimsel
 SUBDIR+=	flite2
 SUBDIR+=	flpsed
@@ -1593,6 +1592,7 @@ SUBDIR+=	libeio
 SUBDIR+=	libeio-cvs
 SUBDIR+=	libepc
 SUBDIR+=	libeps
+SUBDIR+=	libffi-git
 SUBDIR+=	libfirm-git
 SUBDIR+=	libfolks
 SUBDIR+=	libfplll
diff --git a/libffi-git/DESCR b/libffi-git/DESCR
new file mode 100644
index 0000000..2b6fc05
--- /dev/null
+++ b/libffi-git/DESCR
@@ -0,0 +1,20 @@
+The libffi library provides a portable, high level programming
+interface to various calling conventions.  This allows a programmer to
+call any function specified by a call interface description at
+run-time.
+
+Some programs may not know at the time of compilation what arguments
+are to be passed to a function.  For instance, an interpreter may be
+told at run-time about the number and types of arguments used to call
+a given function.  Libffi can be used in such programs to provide a
+bridge from the interpreter program to compiled code.
+
+Ffi stands for Foreign Function Interface.  A foreign function
+interface is the popular name for the interface that allows code
+written in one language to call code written in another language.  The
+libffi library really only provides the lowest, machine dependent
+layer of a fully featured foreign function interface.  A layer must
+exist above libffi that handles type conversions for values passed
+between the two languages.
+
+This package tracks the current development version of libffi.
diff --git a/libffi-git/Makefile b/libffi-git/Makefile
new file mode 100644
index 0000000..49574ad
--- /dev/null
+++ b/libffi-git/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.30 2017/01/28 15:33:25 wiz Exp $
+
+DISTNAME=	libffi-3.2.1
+CATEGORIES=	devel
+MASTER_SITES=	ftp://sourceware.org/pub/libffi/
+
+MAINTAINER=	asau%inbox.ru@localhost
+HOMEPAGE=	https://www.sourceware.org/libffi/
+COMMENT=	Foreign function interface (development version from git)
+LICENSE=	mit
+
+GIT_REPOSITORIES=	libffi
+GIT_REPO.libffi=	git://github.com/atgreen/libffi.git
+WRKSRC=			${WRKDIR}/libffi
+
+BUILD_DEPENDS+=	dejagnu-[0-9]*:../../devel/dejagnu
+
+USE_LANGUAGES=		c c++
+USE_LIBTOOL=		yes
+USE_TOOLS+=		pkg-config autoconf automake autoreconf makeinfo gmake
+GNU_CONFIGURE=		yes
+PKGCONFIG_OVERRIDE+=	libffi.pc.in
+INFO_FILES=		yes
+
+TEST_TARGET=		check
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -fiv
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libffi-git/PLIST b/libffi-git/PLIST
new file mode 100644
index 0000000..b3393dd
--- /dev/null
+++ b/libffi-git/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.4 2012/09/14 23:45:27 asau Exp $
+include/ffi.h
+include/ffitarget.h
+info/libffi.info
+lib/libffi.la
+lib/pkgconfig/libffi.pc
+man/man3/ffi.3
+man/man3/ffi_call.3
+man/man3/ffi_prep_cif.3
+man/man3/ffi_prep_cif_var.3
diff --git a/libffi-git/distinfo b/libffi-git/distinfo
new file mode 100644
index 0000000..90ad218
--- /dev/null
+++ b/libffi-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.43 2016/11/03 11:40:28 maya Exp $
+
+SHA1 (libffi-3.2.1.tar.gz) = 280c265b789e041c02e5c97815793dfc283fb1e6
+RMD160 (libffi-3.2.1.tar.gz) = 9b546a3d002380bec3f00d86fc47d730abf51dfd
+SHA512 (libffi-3.2.1.tar.gz) = 980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483
+Size (libffi-3.2.1.tar.gz) = 940837 bytes


Home | Main Index | Thread Index | Old Index