summaryrefslogtreecommitdiff
path: root/sysutils/hivex/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2018-10-03 21:57:37 +0000
committertnn <tnn@pkgsrc.org>2018-10-03 21:57:37 +0000
commit5412999a7eb72a40f7d9703bf2b1ab2711c622d9 (patch)
treead0c0a32457e1fb3380181c30c43cbf9aacf03ba /sysutils/hivex/Makefile
parent5086d286477c48960484601059fc0211e7fe3c9b (diff)
downloadpkgsrc-5412999a7eb72a40f7d9703bf2b1ab2711c622d9.tar.gz
hivex: on {SunOS,Darwin} only the library is supported, not the cli tools
Diffstat (limited to 'sysutils/hivex/Makefile')
-rw-r--r--sysutils/hivex/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/hivex/Makefile b/sysutils/hivex/Makefile
index c8d42fcfc5a..ce11acfdea6 100644
--- a/sysutils/hivex/Makefile
+++ b/sysutils/hivex/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --without-readline
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"