diff options
author | pi <pi@FreeBSD.org> | 2016-04-11 03:49:17 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-04-11 03:49:17 +0800 |
commit | aa6284182e8fa9e1f62f3632446aeea15215a8ad (patch) | |
tree | 35d3b8a18e1f1c41448ab0014f5817f123f3de50 | |
parent | 47170edc333c82548c919564c8091ef2c1f82995 (diff) | |
download | freebsd-ports-gnome-aa6284182e8fa9e1f62f3632446aeea15215a8ad.tar.gz freebsd-ports-gnome-aa6284182e8fa9e1f62f3632446aeea15215a8ad.tar.zst freebsd-ports-gnome-aa6284182e8fa9e1f62f3632446aeea15215a8ad.zip |
New port: devel/vtable-dumper
List contents of virtual tables in a C++ shared library
It is intended for developers of software libraries and maintainers of Linux
distributions who are interested in ensuring backward binary compatibility.
WWW: https://github.com/lvc/vtable-dumper
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/vtable-dumper/Makefile | 19 | ||||
-rw-r--r-- | devel/vtable-dumper/distinfo | 2 | ||||
-rw-r--r-- | devel/vtable-dumper/files/patch-Makefile | 20 | ||||
-rw-r--r-- | devel/vtable-dumper/pkg-descr | 6 |
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f9c96c426833..a1e979f05a5e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5390,6 +5390,7 @@ SUBDIR += violet SUBDIR += visualparadigm SUBDIR += vstr + SUBDIR += vtable-dumper SUBDIR += vtcl SUBDIR += vxlog SUBDIR += wand-libconfig diff --git a/devel/vtable-dumper/Makefile b/devel/vtable-dumper/Makefile new file mode 100644 index 000000000000..418a157975cb --- /dev/null +++ b/devel/vtable-dumper/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= vtable-dumper +PORTVERSION= 1.1 +CATEGORIES= devel + +MAINTAINER= pi@FreeBSD.org +COMMENT= List content of virtual tables in a C++ shared library + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= lvc +PLIST_FILES= bin/vtable-dumper + +do-install: + ${INSTALL} -s ${WRKSRC}/vtable-dumper ${STAGEDIR}${PREFIX}/bin/vtable-dumper + +.include <bsd.port.mk> diff --git a/devel/vtable-dumper/distinfo b/devel/vtable-dumper/distinfo new file mode 100644 index 000000000000..ce858a7a6812 --- /dev/null +++ b/devel/vtable-dumper/distinfo @@ -0,0 +1,2 @@ +SHA256 (lvc-vtable-dumper-1.1_GH0.tar.gz) = f0a57a7b82a0a56845cea9ab56ad449e63f5f01c6a0c9f1467efa4ef60dd4a93 +SIZE (lvc-vtable-dumper-1.1_GH0.tar.gz) = 15739 diff --git a/devel/vtable-dumper/files/patch-Makefile b/devel/vtable-dumper/files/patch-Makefile new file mode 100644 index 000000000000..d34e3624c87b --- /dev/null +++ b/devel/vtable-dumper/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2015-06-29 15:11:48 UTC ++++ Makefile +@@ -1,7 +1,9 @@ + prefix ?= /usr + ++CC ?= gcc ++ + all: +- gcc dump-vtable.c -o vtable-dumper -ldl -lelf -lstdc++ -Wall ++ ${CC} dump-vtable.c -o vtable-dumper -lelf -lstdc++ -Wall + + install: all + mkdir -p $(prefix)/bin/ +@@ -11,4 +13,4 @@ uninstall: + rm -f $(prefix)/bin/vtable-dumper + + clean: +- rm -f vtable-dumper +\ No newline at end of file ++ rm -f vtable-dumper diff --git a/devel/vtable-dumper/pkg-descr b/devel/vtable-dumper/pkg-descr new file mode 100644 index 000000000000..25b3cfa23256 --- /dev/null +++ b/devel/vtable-dumper/pkg-descr @@ -0,0 +1,6 @@ +List contents of virtual tables in a C++ shared library + +It is intended for developers of software libraries and maintainers of Linux +distributions who are interested in ensuring backward binary compatibility. + +WWW: https://github.com/lvc/vtable-dumper |