pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hivex hivex: on {SunOS, Darwin} only the libra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e76e3cccb95
branches:  trunk
changeset: 385974:2e76e3cccb95
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Oct 03 21:57:37 2018 +0000

description:
hivex: on {SunOS,Darwin} only the library is supported, not the cli tools

diffstat:

 sysutils/hivex/Makefile |  13 +++++++++++--
 sysutils/hivex/PLIST    |  14 +++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r c24b33f73eab -r 2e76e3cccb95 sysutils/hivex/Makefile
--- a/sysutils/hivex/Makefile   Wed Oct 03 21:15:09 2018 +0000
+++ b/sysutils/hivex/Makefile   Wed Oct 03 21:57:37 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/10/03 20:09:00 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/03 21:57:37 tnn Exp $
 
 DISTNAME=      hivex-1.3.15
 CATEGORIES=    sysutils
@@ -26,8 +26,17 @@
 
 REPLACE_SH+=           sh/hivexget
 
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   tools
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
+CONFIGURE_ENV+=        ac_cv_func_open_memstream=no
+.else
+PLIST.tools=yes
 .include "../../archivers/xz/buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c24b33f73eab -r 2e76e3cccb95 sysutils/hivex/PLIST
--- a/sysutils/hivex/PLIST      Wed Oct 03 21:15:09 2018 +0000
+++ b/sysutils/hivex/PLIST      Wed Oct 03 21:57:37 2018 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/03 20:09:00 tnn Exp $
-bin/hivexget
-bin/hivexml
-bin/hivexsh
+@comment $NetBSD: PLIST,v 1.2 2018/10/03 21:57:37 tnn Exp $
+${PLIST.tools}bin/hivexget
+${PLIST.tools}bin/hivexml
+${PLIST.tools}bin/hivexsh
 include/hivex.h
 lib/libhivex.la
 lib/pkgconfig/hivex.pc
-man/man1/hivexget.1
-man/man1/hivexml.1
-man/man1/hivexsh.1
+${PLIST.tools}man/man1/hivexget.1
+${PLIST.tools}man/man1/hivexml.1
+${PLIST.tools}man/man1/hivexsh.1
 man/man3/hivex.3



Home | Main Index | Thread Index | Old Index