Date: Thu, 23 May 2013 22:05:22 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318913 - in head/devel/libcfu: . files Message-ID: <201305232205.r4NM5MSa002349@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Thu May 23 22:05:21 2013 New Revision: 318913 URL: http://svnweb.freebsd.org/changeset/ports/318913 Log: New versions of clang complain about assigning variables to themselves. Let's just remove -Werror and ignore the warnings. Submitted by: phw (miwi) Added: head/devel/libcfu/files/patch-configure.ac (contents, props changed) head/devel/libcfu/files/patch-examples-Makefile.am (contents, props changed) Modified: head/devel/libcfu/Makefile Modified: head/devel/libcfu/Makefile ============================================================================== --- head/devel/libcfu/Makefile Thu May 23 21:49:39 2013 (r318912) +++ head/devel/libcfu/Makefile Thu May 23 22:05:21 2013 (r318913) @@ -11,6 +11,7 @@ COMMENT= Simple library of tools for dev LICENSE= BSD GNU_CONFIGURE= yes +USE_AUTOTOOLS= automake aclocal INFO= ${PORTNAME} .include <bsd.port.mk> Added: head/devel/libcfu/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcfu/files/patch-configure.ac Thu May 23 22:05:21 2013 (r318913) @@ -0,0 +1,18 @@ +--- configure.ac.orig 2013-05-23 22:56:29.764274319 +0100 ++++ configure.ac 2013-05-23 22:59:46.595272055 +0100 +@@ -15,12 +15,12 @@ + SAVELIBS="$LIBS" + CFLAGS="-pthread $CFLAGS" + LIBS="-pthread $LIBS" +-AC_CHECK_FUNC(pthread_mutex_init,, +- CFLAGS="$SAVECFLAGS" ++AC_CHECK_FUNC(pthread_mutex_init, , ++ [CFLAGS="$SAVECFLAGS" + LIBS="$SAVELIBS" + AC_CHECK_LIB(pthread, pthread_mutex_init,, + AC_CHECK_LIB(pthreads, pthread_mutex_init,, +- AC_MSG_ERROR([No pthreads support found.])))) ++ AC_MSG_ERROR([No pthreads support found.])))]) + + # Checks for header files. + AC_HEADER_STDC Added: head/devel/libcfu/files/patch-examples-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcfu/files/patch-examples-Makefile.am Thu May 23 22:05:21 2013 (r318913) @@ -0,0 +1,11 @@ +--- examples/Makefile.am.orig 2013-05-23 22:51:44.426274513 +0100 ++++ examples/Makefile.am 2013-05-23 22:51:55.801273539 +0100 +@@ -4,7 +4,7 @@ + if DEBUG + AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include -DCFU_DEBUG=1 + else +-AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include ++AM_CFLAGS = -Wall -W -I$(top_srcdir)/include + endif + + AM_LDFLAGS = -Xlinker -rpath -Xlinker $(top_src_dir)/src
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305232205.r4NM5MSa002349>