aboutsummaryrefslogtreecommitdiffstats
path: root/news/tin
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-09-01 03:19:55 +0800
committerjohans <johans@FreeBSD.org>2014-09-01 03:19:55 +0800
commit88cd24e899dcd7331e0ec384f26318df0ca9cd12 (patch)
treee5a0d6761ad25c326d7c6c996cab6bd63d15c6e3 /news/tin
parent5b8058a3f200be95b7dcd798a3128ef39a0292f4 (diff)
downloadfreebsd-ports-gnome-88cd24e899dcd7331e0ec384f26318df0ca9cd12.tar.gz
freebsd-ports-gnome-88cd24e899dcd7331e0ec384f26318df0ca9cd12.tar.zst
freebsd-ports-gnome-88cd24e899dcd7331e0ec384f26318df0ca9cd12.zip
Fix build when compiling without NLS
PR: 193149 Submitted by: vas@mpeks.tomsk.su
Diffstat (limited to 'news/tin')
-rw-r--r--news/tin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index e1d8f6832cc3..8bc13139f588 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -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 \