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/c3d096bed05c
branches:  trunk
changeset: 313599:c3d096bed05c
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 4b6b6f5b32ab -r c3d096bed05c 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 4b6b6f5b32ab -r c3d096bed05c 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