Files
ports/devel/gettext-runtime/Makefile
T
Tijl Coosemans 5d17e8f667 devel/libtextstyle, devel/gettext*: Update to 0.23
comms/grig, deskutils/xpad, games/7kaa:
Fix problem between autopoint (gettext) and aclocal (automake).
First autopoint installs gettext m4 files in WRKSRC/m4 for the
version of gettext requested in configure.ac.  And then aclocal
should use those files.  These ports were either missing an "-I m4"
flag so aclocal didn't see the autopoint m4 files but used the ones
from LOCALBASE/share/aclocal, which are the wrong version, or they
used the --install flag that makes aclocal copy files from
LOCALBASE/share/aclocal overwriting the autopoint m4 files.

PR:		283536
Exp-run by:	antoine
2025-01-01 17:32:31 +01:00

47 lines
1.1 KiB
Makefile

# NOTE: before committing to this port, contact portmgr to arrange for an
# experimental ports run. Untested commits may be backed out at portmgr's
# discretion.
PORTNAME= gettext-runtime
PORTREVISION= 0
COMMENT= GNU gettext runtime libraries and programs
WWW= https://www.gnu.org/software/gettext/
LICENSE= LGPL21+ GPLv3+
LICENSE_COMB= multi
LICENSE_FILE_LGPL21+ = ${WRKSRC}/intl/COPYING.LIB
LICENSE_FILE_GPLv3+ = ${WRKSRC}/../COPYING
.include "${.CURDIR}/../gettext/Makefile.common"
USES= charsetfix cpe iconv libtool tar:xz
USE_LDCONFIG= yes
CPE_PRODUCT= gettext
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-csharp --disable-java --with-included-gettext \
ac_cv_lib_rt_sched_yield=no
INSTALL_TARGET= install-strip
TEST_TARGET= check
WRKSRC_SUBDIR= gettext-runtime
DATADIR= ${PREFIX}/share/gettext
DOCSDIR= ${PREFIX}/share/doc/gettext
INFO= autosprintf
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == DragonFly
CONFIGURE_ARGS+=--disable-threads
.endif
post-install:
${RMDIR} ${STAGEDIR}${PREFIX}/lib/gettext
.include <bsd.port.mk>