=================================================================== RCS file: /cvs/ports/net/ccnet/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/net/ccnet/Attic/Makefile 2013/11/12 04:06:14 1.1 +++ ports/net/ccnet/Attic/Makefile 2014/01/17 12:35:30 1.2 @@ -1,16 +1,15 @@ -# $OpenBSD: Makefile,v 1.1 2013/11/12 04:06:14 kirby Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/17 12:35:30 kirby Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? -#COMES_WITH = ??? -#BROKEN = reason +BROKEN = ../common/packet-io.c:56: error: dereferencing pointer to incomplete type COMMENT = framework for writing networked applications in C # COMMENT-foo = ??? for multi packages -V = 2.0.7 +V = 2.1.1 DISTNAME = ccnet-$V -DISTFILES = ${DISTNAME}.zip{v$V.zip} +DISTFILES = ${DISTNAME}.tar.gz{v$V.tar.gz} #PKGNAME = ??? #PKGNAME-foo = ??? for multi packages @@ -29,7 +28,10 @@ MASTER_SITES = https://github.com/haiwen/ccnet/archive/ -MODULES = lang/python +MODULES = lang/python #gcc4 +#MODGCC4_ARCHS = * +#MODGCC4_LANGS += c++ +#MODGCC4_VERSION = 4.8 BUILD_DEPENDS = lang/vala #RUN_DEPENDS = ??? LIB_DEPENDS = devel/libevent2 \ @@ -46,7 +48,7 @@ #USE_LIBTOOL= gnu CONFIGURE_STYLE = automake #CONFIGURE_ARGS += ${CONFIGURE_SHARED} -CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \ +CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib AUTOCONF_VERSION = 2.63 @@ -75,21 +77,20 @@ cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \ AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake --add-missing post-extract: -.for i in include/ccnet/ccnet-client.h lib/net.c lib/libccnet_utils.h \ - lib/net.h lib/packet-io.c lib/packet-io.h lib/utils.h \ - net/common/packet-io.h - perl -pi -e 's,evutil.h,event2\/util.h,g' ${WRKSRC}/$i -.endfor -.for i in include/ccnet/cevent.h lib/job-mgr.c lib/mainloop.c \ - lib/processor.c lib/timer.c net/common/session.h \ - net/common/packet-io.c net/common/peer.c net/common/connect-mgr.h +.for i in lib/processor.c net/common/packet-io.c \ + net/common/peer.c net/common/connect-mgr.h perl -pi -e 's,,,g' ${WRKSRC}/$i .endfor .for i in net/cluster/server.c net/daemon/ccnet-daemon.c \ net/daemon/ccnet-test.c net/server/ccnet-server.c perl -pi -e 's,evdns.h,event2\/dns.h,g' ${WRKSRC}/$i +.endfor + +.for i in include/ccnet/ccnet-client.h lib/net.c lib/libccnet_utils.h \ + lib/net.h lib/packet-io.h lib/utils.h net/common/packet-io.h + perl -pi -e 's,,,g' ${WRKSRC}/$i .endfor .include