diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-16 20:56:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-16 20:56:27 +0800 |
commit | 1a2d89df082c38765f98c94433d2b2657060fad1 (patch) | |
tree | dedd1c0b388de4c31fb56308759161db33f3a3e7 /irc/hexchat/Makefile | |
parent | 3936907f1e0f654679c6bf98dca4b334b8dda3fc (diff) | |
download | freebsd-ports-gnome-1a2d89df082c38765f98c94433d2b2657060fad1.tar.gz freebsd-ports-gnome-1a2d89df082c38765f98c94433d2b2657060fad1.tar.zst freebsd-ports-gnome-1a2d89df082c38765f98c94433d2b2657060fad1.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
Diffstat (limited to 'irc/hexchat/Makefile')
-rw-r--r-- | irc/hexchat/Makefile | 10 |
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> |