Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 17:16:39 +0900
From:      "Ardie H. Hwang" <lists@ardiefox.me>
To:        freebsd-ports@freebsd.org
Subject:   Is it a discouraged behavior to limit port's target OS version?
Message-ID:  <1455264999.1350954.519180010.763924B8@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
Hi all,
I need an advice or two regarding the problem I met.

I am preparing a submission of new port, which depends on <iconv.h>: `databases/mariadb-connector-c`.
Everything went okay, until Poudriere test in 9.3-RELEASE jail reported build failure. Apparently <iconv.h> has been added to base system since 10.0-RELEASE.

The question is: this limiting OS version for this port, is this a discouraged idea? The method I am thinking is to display error if OS version is less than 10.x, upon checking OSVERSION makevar in Makefile. But this will discriminate against fellow 9.x users.
I have another solution of adding `converters/iconv` (libiconv.so) as this port's library dependency. However, I am worried that doing this might cause problem on 10.x versions.

Can someone tell me what to do regarding this <iconv.h> on 9.x?

-- 
Ardie H. Hwang
----------------
email: iam@ardiefox.me
mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1455264999.1350954.519180010.763924B8>