summaryrefslogtreecommitdiff
path: root/irc/scrollz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/scrollz/Makefile')
-rw-r--r--irc/scrollz/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index 57d7257c0710..ff31780f816d 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -16,9 +16,11 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= gmake iconv ncurses
USE_GITHUB= yes
+
GNU_CONFIGURE= yes
DATADIR= ${PREFIX}/share/${PORTNAME:tl}
+
PLIST_SUB= SCROLLZ_VER="${PORTVERSION}"
OPTIONS_DEFINE= IPV6 REGEX UTF8
@@ -26,13 +28,13 @@ OPTIONS_DEFAULT= OPENSSL REGEX UTF8
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
-IPV6_CONFIGURE_ENABLE= ipv6
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_USES= pkgconfig
GNUTLS_CONFIGURE_ON= --with-ssl
-REGEX_CONFIGURE_ENABLE= regexp
+IPV6_CONFIGURE_ENABLE= ipv6
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE}
+REGEX_CONFIGURE_ENABLE= regexp
UTF8_CONFIGURE_ENABLE= utf8
.include <bsd.port.pre.mk>
@@ -41,6 +43,10 @@ UTF8_CONFIGURE_ENABLE= utf8
CFLAGS+= -Wno-error=int-conversion
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.if !empty(ICONV_LIB)
CONFIGURE_ENV+=ac_cv_func_iconv_open=yes
.endif