View | Details | Raw Unified | Return to bug 194113
Collapse All | Expand All

(-)Makefile (-7 / +5 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	linknx
4
PORTNAME=	linknx
5
PORTVERSION=	0.0.1.30
5
PORTVERSION=	0.0.1.32
6
PORTREVISION=	2
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
8
Lines 12-26 Link Here
12
11
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2
14
13
15
BROKEN=		Fails to configure
16
17
LIB_DEPENDS=	libpthsem.so:${PORTSDIR}/devel/pthsem
14
LIB_DEPENDS=	libpthsem.so:${PORTSDIR}/devel/pthsem
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
15
BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
19
16
20
USES=	gmake
17
USES=	gmake autoreconf pkgconfig
21
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
22
USE_AUTOTOOLS=	autoconf aclocal automake
23
AUTOMAKE_ARGS=	--add-missing --copy --force-missing --foreign
24
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
19
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
25
		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
20
		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
26
21
Lines 36-41 Link Here
36
LIBESMTP_LIB_DEPENDS=	libesmtp.so:${PORTSDIR}/mail/libesmtp
31
LIBESMTP_LIB_DEPENDS=	libesmtp.so:${PORTSDIR}/mail/libesmtp
37
LIBCURL_CONFIGURE_WITH=	libcurl
32
LIBCURL_CONFIGURE_WITH=	libcurl
38
LIBCURL_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
33
LIBCURL_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
34
# autoreconf needs that anyway.
35
LIBCURL_BUILD_DEPENDS_OFF=	${LOCALBASE}/share/aclocal/libcurl.m4:${PORTSDIR}/ftp/curl
39
LIBLUA_CONFIGURE_WITH=	lua
36
LIBLUA_CONFIGURE_WITH=	lua
40
LIBLUA_USES=	lua
37
LIBLUA_USES=	lua
41
LIBLUA_CFLAGS=	-I${LUA_INCDIR}
38
LIBLUA_CFLAGS=	-I${LUA_INCDIR}
Lines 52-56 Link Here
52
49
53
post-patch:
50
post-patch:
54
	${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac
51
	${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac
52
	cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS
55
53
56
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (linknx-0.0.1.30.tar.gz) = 46e60620ad29d69bf3a1a3e9529322443c0d585e7e676ca7d441042b5fcad25e
1
SHA256 (linknx-0.0.1.32.tar.gz) = f161d3c8da3b8c6969e9c02d84d3cd26eb5e7fb4f3a3efbaaede8acdaaf11700
2
SIZE (linknx-0.0.1.30.tar.gz) = 327809
2
SIZE (linknx-0.0.1.32.tar.gz) = 336875
(-)files/patch-src__ioport.cpp (-10 lines)
Lines 1-10 Link Here
1
--- ./src/ioport.cpp.orig	2011-03-08 22:20:17.000000000 +0100
2
+++ ./src/ioport.cpp	2014-04-22 19:17:42.208791119 +0200
3
@@ -21,6 +21,7 @@
4
 #include <iomanip>
5
 #include "ioport.h"
6
 #include <fcntl.h>
7
+#include <unistd.h>
8
 
9
 Logger& IOPort::logger_m(Logger::getInstance("IOPort"));
10
 Logger& RxThread::logger_m(Logger::getInstance("RxThread"));

Return to bug 194113