pkgsrc-WIP-changes archive

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

frida-capstone: Install into subprefix: frida



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Mar 15 03:29:39 2018 +0100
Changeset:	0f06e0bdee8b4be01510c642d18e4148843df5e5

Modified Files:
	frida-capstone/Makefile
	frida-capstone/Makefile.common
	frida-capstone/PLIST
	frida-capstone/buildlink3.mk
	frida-capstone/distinfo

Log Message:
frida-capstone: Install into subprefix: frida

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

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

diffstat:
 frida-capstone/Makefile        |  9 +++++++++
 frida-capstone/Makefile.common |  5 ++++-
 frida-capstone/PLIST           | 32 ++++++++++++++++----------------
 frida-capstone/buildlink3.mk   |  6 +++---
 frida-capstone/distinfo        |  8 ++++----
 5 files changed, 36 insertions(+), 24 deletions(-)

diffs:
diff --git a/frida-capstone/Makefile b/frida-capstone/Makefile
index 3114888c38..8a3af12aa9 100644
--- a/frida-capstone/Makefile
+++ b/frida-capstone/Makefile
@@ -15,4 +15,13 @@ TEST_TARGET=			check
 # Don't use FreeBSD/DragonFly specific paths
 ALL_ENV+=	USE_GENERIC_LIBDATADIR=yes
 
+MAKE_FLAGS=		PREFIX=${PREFIX}/frida
+
+# Pass RPATH out of standard prefix
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/frida
+
+# Allow RPATH out of standard prefix
+BUILDLINK_PASSTHRU_DIRS+=	${PREFIX}/frida
+BUILDLINK_PASSTHRU_RPATHDIRS+=	${PREFIX}/frida
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/frida-capstone/Makefile.common b/frida-capstone/Makefile.common
index 90e95b907b..3a96512bf5 100644
--- a/frida-capstone/Makefile.common
+++ b/frida-capstone/Makefile.common
@@ -3,10 +3,13 @@
 # used by devel/py-capstone/Makefile
 
 DISTNAME=	capstone-2.1.2
+PKGNAME=	frida-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=frida/}
 GITHUB_TAG=	a1a383436ba147767af1887c2015e5a863359669
 
+GITHUB_PROJECT=	capstone
+
 HOMEPAGE=	http://www.capstone-engine.org/
 
-DISTINFO_FILE=	${.CURDIR}/../../devel/capstone/distinfo
+DISTINFO_FILE=	${.CURDIR}/../../wip/frida-capstone/distinfo
diff --git a/frida-capstone/PLIST b/frida-capstone/PLIST
index e249a1364e..3b9f510201 100644
--- a/frida-capstone/PLIST
+++ b/frida-capstone/PLIST
@@ -1,16 +1,16 @@
-@comment $NetBSD: PLIST,v 1.2 2018/02/23 02:42:06 khorben Exp $
-bin/cstool
-include/capstone/arm.h
-include/capstone/arm64.h
-include/capstone/capstone.h
-include/capstone/mips.h
-include/capstone/platform.h
-include/capstone/ppc.h
-include/capstone/sparc.h
-include/capstone/systemz.h
-include/capstone/x86.h
-include/capstone/xcore.h
-lib/libcapstone.a
-lib/libcapstone.so
-lib/libcapstone.so.3
-lib/pkgconfig/capstone.pc
+@comment $NetBSD$
+frida/bin/cstool
+frida/include/capstone/arm.h
+frida/include/capstone/arm64.h
+frida/include/capstone/capstone.h
+frida/include/capstone/mips.h
+frida/include/capstone/platform.h
+frida/include/capstone/ppc.h
+frida/include/capstone/sparc.h
+frida/include/capstone/systemz.h
+frida/include/capstone/x86.h
+frida/include/capstone/xcore.h
+frida/lib/libcapstone.a
+frida/lib/libcapstone.so
+frida/lib/libcapstone.so.3
+frida/lib/pkgconfig/capstone.pc
diff --git a/frida-capstone/buildlink3.mk b/frida-capstone/buildlink3.mk
index c6c65e6159..5e5924ed75 100644
--- a/frida-capstone/buildlink3.mk
+++ b/frida-capstone/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2016/06/13 01:51:04 kamil Exp $
+# $NetBSD$
 
 BUILDLINK_TREE+=	capstone
 
 .if !defined(CAPSTONE_BUILDLINK3_MK)
 CAPSTONE_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.capstone+=	capstone>=3.0
-BUILDLINK_PKGSRCDIR.capstone?=		../../devel/capstone
+BUILDLINK_API_DEPENDS.capstone+=	capstone>=2.1.2
+BUILDLINK_PKGSRCDIR.capstone?=	../../wip/frida-capstone
 .endif	# CAPSTONE_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-capstone
diff --git a/frida-capstone/distinfo b/frida-capstone/distinfo
index 7b44c72d73..44f63ccea3 100644
--- a/frida-capstone/distinfo
+++ b/frida-capstone/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.10 2018/02/23 02:42:06 khorben Exp $
 
-SHA1 (capstone-3.0.5rc2.tar.gz) = 52052e754c4f92128d16d5b028b85f646547f091
-RMD160 (capstone-3.0.5rc2.tar.gz) = 960473fc8f4b7113adc291b768e668e27a7c8b56
-SHA512 (capstone-3.0.5rc2.tar.gz) = 31bafdb0b3183d0c054a4244cc135db9a3c3dc5cb2e2af706bfede0d53cca8cba81d74b74ef9a4adbfd6c79cc408864dd80b8203791e17bd6c98bb69ea4f6894
-Size (capstone-3.0.5rc2.tar.gz) = 2829338 bytes
+SHA1 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 9726c56670babe5df69e1919f00a68204beba2e4
+RMD160 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 4437947293611f565c2d10f8e8e020bb0749e6f3
+SHA512 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 870ee89eabcd2235e4cc47af52311fc9776f56ca56e88c04fb508969c0a5c4b389931668f61f8024307539edec212fdd96dffd8242d96aa4c12d05fe4d333dfe
+Size (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 2886456 bytes
 SHA1 (patch-cstool_Makefile) = 94c029a1f667ceffad787f056c332c11001344df


Home | Main Index | Thread Index | Old Index