Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 19:46:47 +0200
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        "Herbert J. Skuhra" <herbert@mailbox.org>, Randy Bush <randy@psg.com>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: libidn2 drags in ruby and friends
Message-ID:  <fd668aee-0fb5-499b-d896-6efe6b363289@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.21.1707261115040.6679@bsd4all.net>
References:  <m2lgnbn04b.wl-randy@psg.com> <alpine.BSF.2.21.1707261115040.6679@bsd4all.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd668aee-0fb5-499b-d896-6efe6b363289>