pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/open-vm-tools Fix no-x11 option and add optio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7718e532beb
branches:  trunk
changeset: 358762:f7718e532beb
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Feb 20 09:19:27 2017 +0000

description:
Fix no-x11 option and add option to disable icu. Bump rev.

diffstat:

 sysutils/open-vm-tools/Makefile   |   6 ++----
 sysutils/open-vm-tools/options.mk |  15 +++++++++++----
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r f832c95892af -r f7718e532beb sysutils/open-vm-tools/Makefile
--- a/sysutils/open-vm-tools/Makefile   Mon Feb 20 08:01:08 2017 +0000
+++ b/sysutils/open-vm-tools/Makefile   Mon Feb 20 09:19:27 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.67 2017/02/12 06:26:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.68 2017/02/20 09:19:27 tnn Exp $
 
 DISTNAME=      open-vm-tools-10.1.0-4449150
 PKGNAME=       open-vm-tools-10.1.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 MASTER_SITES=  https://github.com/vmware/open-vm-tools/files/590760/
 
@@ -67,8 +67,6 @@
 .include "../../net/libdnet/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../security/xml-security-c/buildlink3.mk"
-.include "../../textproc/icu/buildlink3.mk"
-.include "../../x11/libXtst/buildlink3.mk"
 
 .include "options.mk"
 
diff -r f832c95892af -r f7718e532beb sysutils/open-vm-tools/options.mk
--- a/sysutils/open-vm-tools/options.mk Mon Feb 20 08:01:08 2017 +0000
+++ b/sysutils/open-vm-tools/options.mk Mon Feb 20 09:19:27 2017 +0000
@@ -1,17 +1,24 @@
-# $NetBSD: options.mk,v 1.4 2016/11/21 00:14:16 pho Exp $
+# $NetBSD: options.mk,v 1.5 2017/02/20 09:19:27 tnn Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.open-vm-tools
-PKG_SUPPORTED_OPTIONS= x11
-PKG_SUGGESTED_OPTIONS= x11
+PKG_SUPPORTED_OPTIONS= icu x11
+PKG_SUGGESTED_OPTIONS= icu x11
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Micu)
+.include "../../textproc/icu/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=               --without-icu
+.endif
+
 .if !empty(PKG_OPTIONS:Mx11)
 PLIST_SRC+=    PLIST.x11
 MESSAGE_SRC+=  MESSAGE.x11
 .  include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
+.  include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .  include "../../x11/gtkmm/buildlink3.mk"
-.  include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.  include "../../x11/libXtst/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=               --without-x
 .endif



Home | Main Index | Thread Index | Old Index