Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 19:19:55 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366815 - head/news/tin
Message-ID:  <201408311919.s7VJJtaP014713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 \



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