pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pev pev: fix building on macOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87b6970cfe1f
branches:  trunk
changeset: 381574:87b6970cfe1f
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun Jul 10 02:55:02 2022 +0000

description:
pev: fix building on macOS

Tested on NetBSD/amd64, macOS/amd64.

diffstat:

 security/pev/Makefile |   7 ++++++-
 security/pev/PLIST    |  12 ++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r 098795608867 -r 87b6970cfe1f security/pev/Makefile
--- a/security/pev/Makefile     Sun Jul 10 02:40:52 2022 +0000
+++ b/security/pev/Makefile     Sun Jul 10 02:55:02 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2021/05/30 00:49:51 khorben Exp $
+# $NetBSD: Makefile,v 1.11 2022/07/10 02:55:02 khorben Exp $
 
 .include "../../security/libpe/Makefile.common"
 
@@ -15,5 +15,10 @@
 MAKE_FLAGS+=   prefix=${PREFIX}
 MAKE_FLAGS+=   mandir=${PREFIX}/${PKGMANDIR}
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../security/libpe/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 098795608867 -r 87b6970cfe1f security/pev/PLIST
--- a/security/pev/PLIST        Sun Jul 10 02:40:52 2022 +0000
+++ b/security/pev/PLIST        Sun Jul 10 02:55:02 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/05/29 23:28:36 khorben Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/07/10 02:55:02 khorben Exp $
 bin/ofs2rva
 bin/pedis
 bin/pehash
@@ -10,11 +10,11 @@
 bin/pestr
 bin/readpe
 bin/rva2ofs
-lib/pev/plugins/csv_plugin.so
-lib/pev/plugins/html_plugin.so
-lib/pev/plugins/json_plugin.so
-lib/pev/plugins/text_plugin.so
-lib/pev/plugins/xml_plugin.so
+lib/pev/plugins/csv_plugin.${SOEXT}
+lib/pev/plugins/html_plugin.${SOEXT}
+lib/pev/plugins/json_plugin.${SOEXT}
+lib/pev/plugins/text_plugin.${SOEXT}
+lib/pev/plugins/xml_plugin.${SOEXT}
 man/man1/ofs2rva.1
 man/man1/pedis.1
 man/man1/pehash.1



Home | Main Index | Thread Index | Old Index