diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2015-07-28 09:50:39 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2015-07-28 09:50:39 +0000 |
commit | b3ea1fd612a59d76e758e07e9181d0531add3601 (patch) | |
tree | 6690d61b9a8933cdb1996c36f933a892cfca6c2a /dev-cpp | |
parent | Stable on alpha, bug 555958 (diff) | |
download | gentoo-2-b3ea1fd612a59d76e758e07e9181d0531add3601.tar.gz gentoo-2-b3ea1fd612a59d76e758e07e9181d0531add3601.tar.bz2 gentoo-2-b3ea1fd612a59d76e758e07e9181d0531add3601.zip |
Version bump, wrt bug #551014. Thanks to Mansour <mansour.alakeel AT gmail.com> for pointing on this issue
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/rudiments/ChangeLog | 9 | ||||
-rw-r--r-- | dev-cpp/rudiments/files/rudiments-0.51-buildsystem.patch | 86 | ||||
-rw-r--r-- | dev-cpp/rudiments/rudiments-0.51.ebuild | 43 |
3 files changed, 137 insertions, 1 deletions
diff --git a/dev-cpp/rudiments/ChangeLog b/dev-cpp/rudiments/ChangeLog index 9574f3ffe0a6..81eca49e95b9 100644 --- a/dev-cpp/rudiments/ChangeLog +++ b/dev-cpp/rudiments/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-cpp/rudiments # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/rudiments/ChangeLog,v 1.18 2015/03/11 12:48:38 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/rudiments/ChangeLog,v 1.19 2015/07/28 09:50:38 pinkbyte Exp $ + +*rudiments-0.51 (28 Jul 2015) + + 28 Jul 2015; Sergey Popov <pinkbyte@gentoo.org> +rudiments-0.51.ebuild, + +files/rudiments-0.51-buildsystem.patch: + Version bump, wrt bug #551014. Thanks to Mansour <mansour.alakeel AT + gmail.com> for pointing on this issue 11 Mar 2015; Sergey Popov <pinkbyte@gentoo.org> -rudiments-0.40.ebuild, rudiments-0.46.ebuild, -files/0.40-configure.patch, diff --git a/dev-cpp/rudiments/files/rudiments-0.51-buildsystem.patch b/dev-cpp/rudiments/files/rudiments-0.51-buildsystem.patch new file mode 100644 index 000000000000..37cffc9e7680 --- /dev/null +++ b/dev-cpp/rudiments/files/rudiments-0.51-buildsystem.patch @@ -0,0 +1,86 @@ +diff --git a/config.mk.in b/config.mk.in +index ae29f27..c0b7e3d 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -9,7 +9,7 @@ includedir = @includedir@ + libdir = @libdir@ + mandir = @mandir@ + datadir = @datadir@ +-docdir = ${datadir}/doc/rudiments ++docdir = @docdir@ + + # command separator + AND = ; +@@ -25,7 +25,7 @@ + CXX = @CXX@ + COMPILE = -c + OUT = -o +-BASECPPFLAGS = @WALL@ @WERROR@ @WNOLONGDOUBLE@ @WNOFORMAT@ @WNOOVERLOADEDVIRTUAL@ @CPPFLAGS@ @PTHREADINCLUDES@ @SSLINCLUDES@ @PCREINCLUDES@ ++BASECPPFLAGS = @WALL@ @WNOLONGDOUBLE@ @WNOFORMAT@ @WNOOVERLOADEDVIRTUAL@ @CPPFLAGS@ @PTHREADINCLUDES@ @SSLINCLUDES@ @PCREINCLUDES@ + EXPORTSCPPFLAGS = + EXTRACPPFLAGS = @EXTRACPPFLAGS@ + CXXFLAGS = @CXXFLAGS@ @PIPE@ +diff --git a/configure.ac b/configure.ac +index d82ea0e..290a80b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -32,7 +32,7 @@ AC_ARG_WITH(pthread-prefix, + PTHREADPATH="") + AC_ARG_ENABLE(ssl, + [ --disable-ssl Disable SSL support], +- ENABLE_RUDIMENTS_SSL="no", ++ ENABLE_RUDIMENTS_SSL="$enableval", + ENABLE_RUDIMENTS_SSL="yes") + AC_ARG_WITH(ssl-includes, + [ --with-ssl-includes SSL includes], +@@ -44,7 +44,7 @@ AC_ARG_WITH(ssl-libs, + SSLLIBS="") + AC_ARG_ENABLE(pcre, + [ --disable-pcre Don't use PCRE for regular expressions], +- ENABLE_RUDIMENTS_PCRE="no", ++ ENABLE_RUDIMENTS_PCRE="$enableval", + ENABLE_RUDIMENTS_PCRE="yes") + AC_ARG_WITH(pcre-includes, + [ --with-pcre-includes PCRE includes], +@@ -60,7 +60,7 @@ AC_ARG_ENABLE(built-in-regex, + USE_BUILT_IN_REGULAREXPRESSION="0") + AC_ARG_ENABLE(threads, + [ --disable-threads Disable thread support], +- ENABLE_RUDIMENTS_THREADS="no"; INCLUDE_THREAD="0", ++ ENABLE_RUDIMENTS_THREADS="$enableval"; INCLUDE_THREAD="0", + ENABLE_RUDIMENTS_THREADS="yes") + + dnl options to disable building various classes +@@ -4034,6 +4034,10 @@ if ( test "`echo $datadir | cut -c1`" = "/" ) + then + datadir='${DESTDIR}'"$datadir" + fi ++if ( test "`echo $docdir | cut -c1`" = "/" ) ++then ++ docdir='${DESTDIR}'"$docdir" ++fi + + + dnl Output files. +diff --git a/src/Makefile.in b/src/Makefile.in +index a224d83..3b990fb 100644 +@@ -2,7 +2,7 @@ + + include ../config.mk + +-CPPFLAGS = $(WERROR) $(BASECPPFLAGS) $(EXPORTSCPPFLAGS) $(INC)../ $(INC)../include $(EXTRACPPFLAGS) ++CPPFLAGS = $(BASECPPFLAGS) $(EXPORTSCPPFLAGS) $(INC)../ $(INC)../include $(EXTRACPPFLAGS) + LIBS = $(SOCKETLIBS) $(PTHREADLIB) $(SSLLIBS) $(PCRELIBS) $(NANOSLEEPLIB) $(CLOCKNANOSLEEPLIB) $(SHMOPENLIB) $(CRYPTLIB) $(INETATONLIB) $(NETAPI32LIB) $(BELIB) $(GNULIB) $(CRTLIB) $(DLLIB) $(DEBUGLIB) + + SRCS = @SRCS@ +--- a/acsite.m4 2014-05-04 01:44:03.265919456 +0400 ++++ b/acsite.m4 2014-05-04 01:44:34.008920936 +0400 +@@ -279,7 +250,7 @@ + dnl Sometimes -Wall includes -Wunused-variables and -Wunused-parameters + dnl which we don't care about. Disable it if it does. + OLDCPPFLAGS=$CPPFLAGS +- CPPFLAGS="$WALL $WERROR $CPPFLAGS" ++ CPPFLAGS="$WALL $CPPFLAGS" + AC_MSG_CHECKING(whether -Wall includes -Wunused-*) + AC_TRY_COMPILE([void f(int a) { return; }],[f(1);],AC_MSG_RESULT(no),WALL=""; AC_MSG_RESULT(yes)) + CPPFLAGS=$OLDCPPFLAGS diff --git a/dev-cpp/rudiments/rudiments-0.51.ebuild b/dev-cpp/rudiments/rudiments-0.51.ebuild new file mode 100644 index 000000000000..2ed061ec392a --- /dev/null +++ b/dev-cpp/rudiments/rudiments-0.51.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/rudiments/rudiments-0.51.ebuild,v 1.1 2015/07/28 09:50:38 pinkbyte Exp $ + +EAPI="5" + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit autotools-utils + +DESCRIPTION="C++ class library for daemons, clients and servers" +HOMEPAGE="http://rudiments.sourceforge.net/" +SRC_URI="mirror://sourceforge/rudiments/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug pcre ssl static-libs" + +DEPEND="pcre? ( dev-libs/libpcre ) + ssl? ( dev-libs/openssl:0 )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" ) + +src_prepare() { + mv configure.in configure.ac || die + + # bug #535936 + rm aclocal.m4 || die + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --docdir="/usr/share/doc/${PF}/html" \ + $(use debug && "--enable-debug") \ + $(use_enable pcre) \ + $(use_enable ssl) + ) + autotools-utils_src_configure +} |