aboutsummaryrefslogtreecommitdiff
path: root/net-im/toxic
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-05-17 20:45:05 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-05-17 20:45:05 +0000
commitc661f50a95173cdb6f9b240dfb3ae02215d7a6a3 (patch)
treeb133fa68ada37148e67e1871bffea558aa3cafff /net-im/toxic
parent7260477d90bdc3b7046a85767b57b85809fdfcc3 (diff)
downloadports-c661f50a95173cdb6f9b240dfb3ae02215d7a6a3.tar.gz
ports-c661f50a95173cdb6f9b240dfb3ae02215d7a6a3.zip
File format of libncursesw.so is not recognized on FreeBSD-8.4
(treating as linker script) => use binutils from ports. Reported by: pkg-fallout Obtained from: tijl
Notes
Notes: svn path=/head/; revision=354370
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 63259d8295cd..b67c987a47c8 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -24,6 +24,13 @@ SUB_FILES= pkg-message
USES= ncurses:port pkgconfig
USE_AUTOTOOLS= autoconf aclocal
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900033
+USE_BINUTILS= yes
+LDFLAGS+= -B${LOCALBASE}/bin
+.endif
+
run-autotools:
cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -if
@@ -33,4 +40,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/misc/toxic.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>