| Summary: | [patch] x11/libXpm: fix build with devel/gettext-runtime installed | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Andriy Voskoboinyk <avos> | ||||||||
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | CC: | autotools, johans, x11 | ||||||||
| Priority: | --- | Keywords: | patch | ||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 158230 [details]
portlint.log
Created attachment 158231 [details]
poudriere-10.1-amd64.log
A commit references this bug: Author: johans Date: Wed Jul 1 20:29:41 UTC 2015 New revision: 391122 URL: https://svnweb.freebsd.org/changeset/ports/391122 Log: - Make implicit dependency on gettext explicit (and enable by default) also disable autodetection when not desired - Strip installed library - Bump portrevision PR: 201256 Submitted by: Andriy Voskoboinyk Changes: head/x11/libXpm/Makefile 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. |
Created attachment 158229 [details] Makefile.diff 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