forked from Lainports/freebsd-ports
- 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:
parent
001c583033
commit
480db8907c
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue