1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Fix configure

- Mark broken: fails to build

hal/user_comps/mb2hal/mb2hal.c:362:63: error: too few arguments to function call, expected 3, have 2
    modbus_set_response_timeout(this_mb_link->modbus, &timeout);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~                               ^
/usr/local/include/modbus/modbus.h:185:12: note: 'modbus_set_response_timeout' declared here
MODBUS_API int modbus_set_response_timeout(modbus_t *ctx, uint32_t to_sec, uint32_t to_usec);
           ^
hal/user_comps/mb2hal/mb2hal.c:369:59: error: too few arguments to function call, expected 3, have 2
    modbus_set_byte_timeout(this_mb_link->modbus, &timeout);
    ~~~~~~~~~~~~~~~~~~~~~~~                               ^
/usr/local/include/modbus/modbus.h:188:12: note: 'modbus_set_byte_timeout' declared here
MODBUS_API int modbus_set_byte_timeout(modbus_t *ctx, uint32_t to_sec, uint32_t to_usec);
           ^
This commit is contained in:
Antoine Brodin 2017-01-01 19:32:09 +00:00
parent 001c583033
commit 480db8907c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430275

View File

@ -11,6 +11,8 @@ COMMENT= Open Source CNC machine controller
LICENSE= GPLv2
BROKEN= fails to build, too few arguments to modbus_set_response_timeout
LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \
libboost_python.so:devel/boost-python-libs \
libfontconfig.so:x11-fonts/fontconfig \
@ -33,7 +35,10 @@ PATCH_WRKSRC= ${WRKDIR}/linuxcnc-${GH_TAGNAME}
ALL_TARGET= default
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-realtime=uspace --enable-non-distributable=yes CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" CXXFLAGS="-I${LOCALBASE}/include" CXX=c++ CC=cc --with-locale-dir="${PREFIX}/share/locale"
CONFIGURE_ARGS= --with-realtime=uspace --enable-non-distributable=yes \
CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="-I${LOCALBASE}/include" CXX=c++ CC=cc \
--with-locale-dir="${PREFIX}/share/locale" --with-python=${PYTHON_CMD}
MAKE_ENV= BUILD_VERBOSE=1
USES= autoreconf gettext gmake ncurses pkgconfig python readline shebangfix tk
USE_GL= gl glu