From owner-svn-ports-head@FreeBSD.ORG Mon Feb 11 09:12:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3ACFA46E; Mon, 11 Feb 2013 09:12:37 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2D58EE9D; Mon, 11 Feb 2013 09:12:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1B9Caqn030285; Mon, 11 Feb 2013 09:12:36 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1B9Cak3030281; Mon, 11 Feb 2013 09:12:36 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201302110912.r1B9Cak3030281@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 11 Feb 2013 09:12:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312046 - in head/devel/libpeak: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 09:12:37 -0000 Author: gahr Date: Mon Feb 11 09:12:35 2013 New Revision: 312046 URL: http://svnweb.freebsd.org/changeset/ports/312046 Log: - Unbreak on amd64 and sparc64 - Take maintainership - Add regression-test target - Trim Makefile header Added: head/devel/libpeak/files/ head/devel/libpeak/files/patch-configure (contents, props changed) head/devel/libpeak/files/patch-peak_engine_mode_kqueue.c (contents, props changed) head/devel/libpeak/files/patch-peak_signal.c (contents, props changed) Modified: head/devel/libpeak/Makefile (contents, props changed) Modified: head/devel/libpeak/Makefile ============================================================================== --- head/devel/libpeak/Makefile Mon Feb 11 06:59:06 2013 (r312045) +++ head/devel/libpeak/Makefile Mon Feb 11 09:12:35 2013 (r312046) @@ -1,27 +1,25 @@ -# ex:ts=8 -# Ports collection makefile for: libpeak -# Date created: Mar 18, 2005 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= libpeak PORTVERSION= 0.1.2 -PORTREVISION= 0 CATEGORIES= devel MASTER_SITES= SF/peak/${PORTNAME}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= Parallel Events and Asynchronous tasKing Library -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 sparc64 USE_GMAKE= yes GNU_CONFIGURE= yes -MAKE_ARGS= CFLAGS="${CFLAGS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - LIBS="${PTHREAD_LIBS}" USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool + +regression-test: build + ( \ + cd ${WRKSRC}/tests; \ + alltests=`ls *.c | sed -e 's|\.c||g'`; \ + ${MAKE} $$alltests && ./test-suite.pl $$alltests \ + ) .include Added: head/devel/libpeak/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libpeak/files/patch-configure Mon Feb 11 09:12:35 2013 (r312046) @@ -0,0 +1,29 @@ +--- configure.orig 2007-05-24 15:25:29.000000000 +0200 ++++ configure 2013-02-11 09:41:56.000000000 +0100 +@@ -2514,7 +2514,7 @@ + + cflags='-O2 -g -Wall' + default_includes=' -I. -I$(srcdir) -I$(top_builddir)' +-includes='-I- -I$(top_builddir)' ++includes='-I$(top_builddir)' + + case "$host" in + *-*-aix*) +@@ -2661,7 +2661,7 @@ + arch=powerpc + ;; + +- i*86-* | x86-* | x86_64-*) ++ i*86-* | x86-* | x86_64-* | amd64-*) + arch=x86 + ;; + +@@ -22321,7 +22321,7 @@ + ac_cv_header_stdint_x="no-file" + ac_cv_header_stdint_o="no-file" + ac_cv_header_stdint_u="no-file" +- for i in stdint.h $inttype_headers ; do ++ for i in inttypes.h stdint.h $inttype_headers ; do + unset ac_cv_type_uintptr_t + unset ac_cv_type_uint64_t + { echo "$as_me:$LINENO: checking for uintptr_t" >&5 Added: head/devel/libpeak/files/patch-peak_engine_mode_kqueue.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libpeak/files/patch-peak_engine_mode_kqueue.c Mon Feb 11 09:12:35 2013 (r312046) @@ -0,0 +1,12 @@ +--- peak/engine_mod_kqueue.c.orig 2013-02-11 09:50:18.000000000 +0100 ++++ peak/engine_mod_kqueue.c 2013-02-11 09:51:01.000000000 +0100 +@@ -47,6 +47,9 @@ + #include + #include + #include ++#ifdef HAVE_SYS_SIGNAL_H ++#include ++#endif + #ifdef HAVE_SIGNAL_H + #include + #endif Added: head/devel/libpeak/files/patch-peak_signal.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libpeak/files/patch-peak_signal.c Mon Feb 11 09:12:35 2013 (r312046) @@ -0,0 +1,12 @@ +--- peak/signal.c.orig 2013-02-11 09:43:19.000000000 +0100 ++++ peak/signal.c 2013-02-11 09:49:07.000000000 +0100 +@@ -45,6 +45,9 @@ + #include + #include + #include ++#ifdef HAVE_SYS_SIGNAL_H ++#include ++#endif + #ifdef HAVE_SIGNAL_H + #include + #endif