svn commit: r366815 - head/news/tin
Johan van Selst
johans at FreeBSD.org
Sun Aug 31 19:19:55 UTC 2014
Author: johans
Date: Sun Aug 31 19:19:55 2014
New Revision: 366815
URL: http://svnweb.freebsd.org/changeset/ports/366815
QAT: https://qat.redports.org/buildarchive/r366815/
Log:
Fix build when compiling without NLS
PR: 193149
Submitted by: vas at mpeks.tomsk.su
Modified:
head/news/tin/Makefile
Modified: head/news/tin/Makefile
==============================================================================
--- head/news/tin/Makefile Sun Aug 31 19:15:10 2014 (r366814)
+++ head/news/tin/Makefile Sun Aug 31 19:19:55 2014 (r366815)
@@ -69,6 +69,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= build
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -Ee 's:5/(mmdf|mbox):5/tin_\1:g' \
${WRKSRC}/src/Makefile.in
@@ -87,8 +89,10 @@ post-patch:
${MV} ${WRKSRC}/tools/url_handler.pl \
${WRKSRC}/tools/tinurl_handler.pl
+.if ${PORT_OPTIONS:MNLS}
post-build:
${MAKE_CMD} -C ${WRKSRC}/po
+.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults \
More information about the svn-ports-all
mailing list