Date: Tue, 22 Apr 2014 17:21:33 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351866 - in head/net/linknx: . files Message-ID: <201404221721.s3MHLXbm039987@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Apr 22 17:21:32 2014 New Revision: 351866 URL: http://svnweb.freebsd.org/changeset/ports/351866 QAT: https://qat.redports.org/buildarchive/r351866/ Log: Fix build with clang/libc++ Fix regeneration of the configure [1] While here switch to lua 5.2 Reported by: mat [1] Added: head/net/linknx/files/patch-src__ioport.cpp (contents, props changed) Modified: head/net/linknx/Makefile Modified: head/net/linknx/Makefile ============================================================================== --- head/net/linknx/Makefile Tue Apr 22 17:14:44 2014 (r351865) +++ head/net/linknx/Makefile Tue Apr 22 17:21:32 2014 (r351866) @@ -3,6 +3,7 @@ PORTNAME= linknx PORTVERSION= 0.0.1.30 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -16,7 +17,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libargp. USES= gmake GNU_CONFIGURE= yes -USE_AUTOTOOLS= autoconf +USE_AUTOTOOLS= autoconf aclocal automake +AUTOMAKE_ARGS= --add-missing --copy --force-missing --foreign CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib" @@ -25,7 +27,7 @@ OPTIONS_DEFAULT= LIBESMTP OPTIONS_SUB= LIBESMTP_DESC= Install libesmtp for SMTP support LIBCURL_DESC= Install libcurl for Clickatell SMS support -LIBLUA_DESC= Install lilua for scripting +LIBLUA_DESC= Install liblua for scripting MYSQL_DESC= Install libmysql for logging & persist LIBESMTP_CONFIGURE_ENABLE= smtp @@ -33,7 +35,7 @@ LIBESMTP_LIB_DEPENDS= libesmtp.so:${PORT LIBCURL_CONFIGURE_WITH= libcurl LIBCURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl LIBLUA_CONFIGURE_WITH= lua -LIBLUA_USE= LUA=yes +LIBLUA_USES= lua LIBLUA_CFLAGS= -I${LUA_INCDIR} LIBLUA_LDFLAGS= -L${LUA_LIBDIR} MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config Added: head/net/linknx/files/patch-src__ioport.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/linknx/files/patch-src__ioport.cpp Tue Apr 22 17:21:32 2014 (r351866) @@ -0,0 +1,10 @@ +--- ./src/ioport.cpp.orig 2011-03-08 22:20:17.000000000 +0100 ++++ ./src/ioport.cpp 2014-04-22 19:17:42.208791119 +0200 +@@ -21,6 +21,7 @@ + #include <iomanip> + #include "ioport.h" + #include <fcntl.h> ++#include <unistd.h> + + Logger& IOPort::logger_m(Logger::getInstance("IOPort")); + Logger& RxThread::logger_m(Logger::getInstance("RxThread"));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404221721.s3MHLXbm039987>