Created attachment 158229 [details]
By default, configure autodetects the gettext library - and if it exists, then it will be added as cxpm/sxpm dependency. As a result: 1) build may fail if devel/gettext-tools port is not installed and 2) the port has implicit dependency to devel/gettext-runtime in case of success.
Fix: disable gettext autodetection (i.e., set ac_cv_search_gettext=no in CONFIGURE_ENV)
Also, add INSTALL_TARGET=install-strip
Created attachment 158230 [details]
Created attachment 158231 [details]
A commit references this bug:
Date: Wed Jul 1 20:29:41 UTC 2015
New revision: 391122
- Make implicit dependency on gettext explicit (and enable by default)
also disable autodetection when not desired
- Strip installed library
- Bump portrevision
Submitted by: Andriy Voskoboinyk
Well spotted. In fact, this wasn't detected where libintl was not in the default link path. I have now added an NLS option for those who desire gettext() support and enabled it by default.