aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-16 12:56:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-16 12:56:27 +0000
commitf2caa6ccb31cc0a37214092a4a5d97bb1a79ede6 (patch)
treededd1c0b388de4c31fb56308759161db33f3a3e7 /irc
parent7a25c81714e94539d28d50722f46689215259222 (diff)
downloadports-f2caa6ccb31cc0a37214092a4a5d97bb1a79ede6.tar.gz
ports-f2caa6ccb31cc0a37214092a4a5d97bb1a79ede6.zip
- Fix build on pre-10.x by requiring newer OpenSSL version from ports
- Fix build with NLS disabled by adding gettext-tools dependency MFH: 2015Q2
Notes
Notes: svn path=/head/; revision=389839
Diffstat (limited to 'irc')
-rw-r--r--irc/hexchat/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/irc/hexchat/Makefile b/irc/hexchat/Makefile
index 8044fa681a77..f27e5a261b07 100644
--- a/irc/hexchat/Makefile
+++ b/irc/hexchat/Makefile
@@ -20,6 +20,7 @@ CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \
--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
+USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11
@@ -51,6 +52,7 @@ DOAT_CONFIGURE_ENABLE= doat
FISHLIM_CONFIGURE_ENABLE= fishlim
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+NLS_USES_OFF= gettext-tools # doesn't build otherwise
NOTIFY_RUN_DEPENDS= notify-send:${PORTSDIR}/devel/libnotify
NOTIFY_CONFIGURE_ENABLE= libnotify
PERL_CONFIGURE_ENABLE= perl
@@ -61,6 +63,12 @@ TEXTFE_CONFIGURE_ENABLE= textfe
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
.if ${PORT_OPTIONS:MCA_BUNDLE}
CA_BUNDLE= "${LOCALBASE}/share/certs/ca-root-nss.crt"
.else
@@ -91,4 +99,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>