aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/toxic
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-05-18 04:45:05 +0800
committerthierry <thierry@FreeBSD.org>2014-05-18 04:45:05 +0800
commitff6d960a7635e2ee7127a58e9914f7a353a90cac (patch)
treeb133fa68ada37148e67e1871bffea558aa3cafff /net-im/toxic
parent013a2c5bd4147d8bc03555dc6fe515fd90002d0c (diff)
downloadfreebsd-ports-gnome-ff6d960a7635e2ee7127a58e9914f7a353a90cac.tar.gz
freebsd-ports-gnome-ff6d960a7635e2ee7127a58e9914f7a353a90cac.tar.zst
freebsd-ports-gnome-ff6d960a7635e2ee7127a58e9914f7a353a90cac.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
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>