From owner-freebsd-ports@freebsd.org Wed Jul 26 17:46:50 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 802ACDABCDD for ; Wed, 26 Jul 2017 17:46:50 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 693D26F129 for ; Wed, 26 Jul 2017 17:46:50 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6554CDABCDB; Wed, 26 Jul 2017 17:46:50 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64BDCDABCDA for ; Wed, 26 Jul 2017 17:46:50 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 167D36F128 for ; Wed, 26 Jul 2017 17:46:50 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from [192.168.1.6] (x4e30449a.dyn.telefonica.de [78.48.68.154]) by toco-domains.de (Postfix) with ESMTPA id 6CF501AAF058; Wed, 26 Jul 2017 19:46:47 +0200 (CEST) Subject: Re: libidn2 drags in ruby and friends To: "Herbert J. Skuhra" , Randy Bush Cc: FreeBSD Ports References: From: Torsten Zuehlsdorff Message-ID: Date: Wed, 26 Jul 2017 19:46:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------E8CECB189843C965F34584FD" Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 17:46:50 -0000 This is a multi-part message in MIME format. --------------E8CECB189843C965F34584FD Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Aloha, >> it just wanted an upgrade of libidn2, but decided to install ruby and >> all her friends >> >> ===>>> The following actions will be taken if you choose to proceed: >> Upgrade libidn2-2.0.2 to libidn2-2.0.3 >> Install textproc/rubygem-ronn >> Install devel/ruby-gems >> Install lang/ruby23 >> Install devel/libunwind >> Install devel/rubygem-mustache >> Install textproc/rubygem-rdiscount >> Install www/rubygem-hpricot >> >> /usr/ports/dns/libidn2/Makefile: >> >> BUILD_DEPENDS= ronn:textproc/rubygem-ronn >> >> All that just to build manual pages and i can not even opt out? this is >> not helpful. > > Maybe the attach will do. The patch is sadly not ready to be committed in this form. It uses the old OPTION style which should not be used anymore. But its a good start! :) Attached an updated patch. I will also send it to sunpoet (maintainer) and will ask for approval. Greetings, Torsten -- Support me at: https://www.patreon.com/TorstenZuehlsdorff --------------E8CECB189843C965F34584FD Content-Type: text/x-patch; name="libidn2-with-docs-option.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libidn2-with-docs-option.diff" Index: Makefile =================================================================== --- Makefile (Revision 446668) +++ Makefile (Arbeitskopie) @@ -12,11 +12,16 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ronn:textproc/rubygem-ronn LIB_DEPENDS= libunistring.so:devel/libunistring +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ronn:textproc/rubygem-ronn + CONFIGURE_ARGS= --disable-nls \ --with-libunistring-prefix=${LOCALBASE} + +DOCS_CONFIGURE_OFF= --disable-doc + GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes Index: pkg-plist =================================================================== --- pkg-plist (Revision 446668) +++ pkg-plist (Arbeitskopie) @@ -5,35 +5,35 @@ lib/libidn2.so.0 lib/libidn2.so.0.3.2 libdata/pkgconfig/libidn2.pc -man/man1/idn2.1.gz -man/man3/idn2_check_version.3.gz -man/man3/idn2_free.3.gz -man/man3/idn2_lookup_u8.3.gz -man/man3/idn2_lookup_ul.3.gz -man/man3/idn2_register_u8.3.gz -man/man3/idn2_register_ul.3.gz -man/man3/idn2_strerror.3.gz -man/man3/idn2_strerror_name.3.gz -man/man3/idn2_to_ascii_4i.3.gz -man/man3/idn2_to_ascii_4z.3.gz -man/man3/idn2_to_ascii_8z.3.gz -man/man3/idn2_to_ascii_lz.3.gz -man/man3/idn2_to_unicode_44i.3.gz -man/man3/idn2_to_unicode_4z4z.3.gz -man/man3/idn2_to_unicode_8z4z.3.gz -man/man3/idn2_to_unicode_8z8z.3.gz -man/man3/idn2_to_unicode_8zlz.3.gz -man/man3/idn2_to_unicode_lzlz.3.gz -share/gtk-doc/html/libidn2/api-index-full.html -share/gtk-doc/html/libidn2/home.png -share/gtk-doc/html/libidn2/index.html -share/gtk-doc/html/libidn2/left-insensitive.png -share/gtk-doc/html/libidn2/left.png -share/gtk-doc/html/libidn2/libidn2-idn2.html -share/gtk-doc/html/libidn2/libidn2.devhelp2 -share/gtk-doc/html/libidn2/libidn2.html -share/gtk-doc/html/libidn2/right-insensitive.png -share/gtk-doc/html/libidn2/right.png -share/gtk-doc/html/libidn2/style.css -share/gtk-doc/html/libidn2/up-insensitive.png -share/gtk-doc/html/libidn2/up.png +%%PORTDOCS%%man/man1/idn2.1.gz +%%PORTDOCS%%man/man3/idn2_check_version.3.gz +%%PORTDOCS%%man/man3/idn2_free.3.gz +%%PORTDOCS%%man/man3/idn2_lookup_u8.3.gz +%%PORTDOCS%%man/man3/idn2_lookup_ul.3.gz +%%PORTDOCS%%man/man3/idn2_register_u8.3.gz +%%PORTDOCS%%man/man3/idn2_register_ul.3.gz +%%PORTDOCS%%man/man3/idn2_strerror.3.gz +%%PORTDOCS%%man/man3/idn2_strerror_name.3.gz +%%PORTDOCS%%man/man3/idn2_to_ascii_4i.3.gz +%%PORTDOCS%%man/man3/idn2_to_ascii_4z.3.gz +%%PORTDOCS%%man/man3/idn2_to_ascii_8z.3.gz +%%PORTDOCS%%man/man3/idn2_to_ascii_lz.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_44i.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_4z4z.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_8z4z.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_8z8z.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_8zlz.3.gz +%%PORTDOCS%%man/man3/idn2_to_unicode_lzlz.3.gz +%%PORTDOCS%%share/gtk-doc/html/libidn2/api-index-full.html +%%PORTDOCS%%share/gtk-doc/html/libidn2/home.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/index.html +%%PORTDOCS%%share/gtk-doc/html/libidn2/left-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/left.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2-idn2.html +%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2.html +%%PORTDOCS%%share/gtk-doc/html/libidn2/right-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/right.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/style.css +%%PORTDOCS%%share/gtk-doc/html/libidn2/up-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/libidn2/up.png --------------E8CECB189843C965F34584FD--