From owner-svn-ports-all@FreeBSD.ORG Thu Dec 13 11:53:09 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 668C7F89; Thu, 13 Dec 2012 11:53:09 +0000 (UTC) (envelope-from araujo@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 492368FC0C; Thu, 13 Dec 2012 11:53:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBDBr91A024328; Thu, 13 Dec 2012 11:53:09 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBDBr8Ld024324; Thu, 13 Dec 2012 11:53:08 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212131153.qBDBr8Ld024324@svn.freebsd.org> From: Marcelo Araujo Date: Thu, 13 Dec 2012 11:53:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308845 - in head/devel/xxl: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2012 11:53:09 -0000 Author: araujo Date: Thu Dec 13 11:53:08 2012 New Revision: 308845 URL: http://svnweb.freebsd.org/changeset/ports/308845 Log: - Update MASTER_SITES. - Add LICENSE. - Add MAKE_JOBS_SAFE. - Add regression-test. PR: ports/172503 Submitted by: KATO Tsuguru Reviewed by: myself Added: head/devel/xxl/files/patch-xxl.c (contents, props changed) Deleted: head/devel/xxl/files/patch-ltmain.sh Modified: head/devel/xxl/Makefile (contents, props changed) head/devel/xxl/pkg-descr (contents, props changed) Modified: head/devel/xxl/Makefile ============================================================================== --- head/devel/xxl/Makefile Thu Dec 13 11:50:53 2012 (r308844) +++ head/devel/xxl/Makefile Thu Dec 13 11:53:08 2012 (r308845) @@ -5,27 +5,40 @@ PORTNAME= xxl PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://launchpadlibrarian.net/39195019/ +MASTER_SITES= http://launchpadlibrarian.net/39195019/ \ + http://www.zork.org/software/ MAINTAINER= ports@FreeBSD.org COMMENT= C/C++ library for exception handling and asset management +LICENSE= BSD + +OPTIONS_DEFINE= THREADS DOCS +OPTIONS_DEFAULT=THREADS + USE_AUTOTOOLS= libtool -GNU_CONFIGURE= yes USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes -.if defined(WITHOUT_THREADS) -CONFIGURE_ARGS= --without-threads -.endif +PORTDOCS= xxl.html xxl.pdf -.if !defined(NOPORTDOCS) -PORTDOCS= xxl.pdf xxl.html +.include + +.if ${PORT_OPTIONS:MTHREADS} +CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" +.else +CONFIGURE_ARGS+=--without-threads .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) .endif +regression-test test: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} check) + .include Added: head/devel/xxl/files/patch-xxl.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/xxl/files/patch-xxl.c Thu Dec 13 11:53:08 2012 (r308845) @@ -0,0 +1,11 @@ +--- xxl.c.orig 2004-12-22 03:42:52.000000000 -0600 ++++ xxl.c 2008-01-17 13:25:18.000000000 -0600 +@@ -380,6 +380,8 @@ + if (!tsd->contexts) + die("XXL: Exception thrown with no handler to catch it!\n"); + tsd->contexts->exception = *exception; ++ how=XXL_SETJMP_TRY; ++ tsd->contexts->state |= XXL_STATE_THROWN; + xxl_leave_handler(how); + return; + } Modified: head/devel/xxl/pkg-descr ============================================================================== --- head/devel/xxl/pkg-descr Thu Dec 13 11:50:53 2012 (r308844) +++ head/devel/xxl/pkg-descr Thu Dec 13 11:53:08 2012 (r308845) @@ -1,11 +1,11 @@ XXL is a library for C and C++ that provides exception handling and asset management. Asset management is integrated with the exception handling mechanism such that assets may be automatically cleaned up if an exception -is thrown, which allows for much simplified program structure with respect to -error handling. +is thrown, which allows for much simplified program structure with respect +to error handling. -By allowing XXL to track assets and using its exception handling features, the -programmer no longer has to check error conditions on every function call and -cleanup the assets on failure because XXL does the work. +By allowing XXL to track assets and using its exception handling features, +the programmer no longer has to check error conditions on every function +call and cleanup the assets on failure because XXL does the work. WWW: http://www.zork.org/xxl/