svn commit: r430275 - head/cad/linuxcnc-devel

Antoine Brodin antoine at FreeBSD.org
Sun Jan 1 19:32:11 UTC 2017


Author: antoine
Date: Sun Jan  1 19:32:09 2017
New Revision: 430275
URL: https://svnweb.freebsd.org/changeset/ports/430275

Log:
  - 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);
             ^

Modified:
  head/cad/linuxcnc-devel/Makefile

Modified: head/cad/linuxcnc-devel/Makefile
==============================================================================
--- head/cad/linuxcnc-devel/Makefile	Sun Jan  1 19:30:37 2017	(r430274)
+++ head/cad/linuxcnc-devel/Makefile	Sun Jan  1 19:32:09 2017	(r430275)
@@ -11,6 +11,8 @@ COMMENT=	Open Source CNC machine control
 
 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_TA
 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


More information about the svn-ports-all mailing list