Skip to content
Snippets Groups Projects
Commit adfc77c7 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

irc/srvx: fix build on armv? and powerpc

They use long long for time_t.
parent ccb1ade3
Branches
Tags
No related merge requests found
......@@ -10,9 +10,6 @@ WWW= http://www.srvx.net/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to configure: Cannot detect format string for time_t
BROKEN_armv7= fails to configure: Cannot detect format string for time_t
USES= cpe
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-getopt
......@@ -29,6 +26,12 @@ BAHAMUT_DESC= Enable Bahamut protocol (P10 is default)
DEBUG_CONFIGURE_ON= --enable-debug
BAHAMUT_CONFIGURE_ON= --with-protocol=bahamut
.include <bsd.port.options.mk>
.if ${ARCH:Marmv?} || ${ARCH} == powerpc
CONFIGURE_ENV+= ac_cv_fmt_time_t="\"%lli\""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|srvx\.conf|${PREFIX}/etc/srx.conf|' \
${WRKSRC}/src/main.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment