svn commit: r389839 - head/irc/hexchat
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 16 12:56:28 UTC 2015
Author: amdmi3
Date: Tue Jun 16 12:56:27 2015
New Revision: 389839
URL: https://svnweb.freebsd.org/changeset/ports/389839
Log:
- 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
Modified:
head/irc/hexchat/Makefile
Modified: head/irc/hexchat/Makefile
==============================================================================
--- head/irc/hexchat/Makefile Tue Jun 16 12:50:21 2015 (r389838)
+++ head/irc/hexchat/Makefile Tue Jun 16 12:56:27 2015 (r389839)
@@ -20,6 +20,7 @@ CONFIGURE_ARGS+=--enable-openssl --enabl
--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>
More information about the svn-ports-head
mailing list