pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
frida-gum: Add more hacks to handle NetBSD/pkgsrc
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Thu Mar 15 03:04:15 2018 +0100
Changeset: 9e8525774446725dbc17844d7043ff4abafaff9c
Modified Files:
frida-gum/Makefile
Log Message:
frida-gum: Add more hacks to handle NetBSD/pkgsrc
Prefer pkgsrc's xz, as it contains .pc.
Call build-targetfunctions.sh, as it's needed for NetBSD.
Set IGNORE_PKG for glib2 and libffi in order to stop installing buildinks
of it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e8525774446725dbc17844d7043ff4abafaff9c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
frida-gum/Makefile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diffs:
diff --git a/frida-gum/Makefile b/frida-gum/Makefile
index 3bd696a07d..052faf040d 100644
--- a/frida-gum/Makefile
+++ b/frida-gum/Makefile
@@ -15,6 +15,22 @@ USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
+PREFER.xz= pkgsrc # required .pc, missing in NetBSD-base
+
+pre-build:
+ ${RUN} cd ${WRKSRC}/tests/core && \
+ CFLAGS="-fPIC" \
+ STRIP=strip \
+ CC=${CC} \
+ CONFIG_SITE=$PWD \
+ PKG_CONFIG=pkg-config \
+ LDFLAGS="-fPIC -DPIC" \
+ sh build-targetfunctions.sh netbsd x86_64
+
+IGNORE_PKG.glib2= yes
+IGNORE_PKG.libffi= yes
+
+.include "../../textproc/json-glib/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/capstone/buildlink3.mk"
.include "../../wip/frida-glib2/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index