1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- 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
This commit is contained in:
Dmitry Marakasov 2015-06-16 12:56:27 +00:00
parent 7a25c81714
commit f2caa6ccb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389839

View File

@ -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>