aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-06-02 20:13:09 +0800
committerarved <arved@FreeBSD.org>2007-06-02 20:13:09 +0800
commitdc8a24c1b5e89e7716a5d68aad06d3c620d212cf (patch)
tree9033c4ddc0e375000ff047e5234a0cf0b9e2d41a /www
parent2ed4415ec4499d2dc64e0794125b9d33b848e7b8 (diff)
downloadfreebsd-ports-gnome-dc8a24c1b5e89e7716a5d68aad06d3c620d212cf.tar.gz
freebsd-ports-gnome-dc8a24c1b5e89e7716a5d68aad06d3c620d212cf.tar.zst
freebsd-ports-gnome-dc8a24c1b5e89e7716a5d68aad06d3c620d212cf.zip
Fix build on old STABLE without ncursesw
Diffstat (limited to 'www')
-rw-r--r--www/newsbeuter/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile
index 7ff9bdfa08f2..defb107b688b 100644
--- a/www/newsbeuter/Makefile
+++ b/www/newsbeuter/Makefile
@@ -23,8 +23,13 @@ USE_PERL5_BUILD=yes
MAN1= newsbeuter.1 podbeuter.1
+.include <bsd.port.pre.mk>
+
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
s,prefix,PREFIX," ${WRKSRC}/Makefile
+.if ${OSVERSION} < 602107
+ ${REINPLACE_CMD} -e "s,ncursesw,ncurses," ${WRKSRC}/Makefile
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>