app-crypt/gpgme: sync partial da9631f50 missing live ebuild update
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 6 Jan 2018 00:03:29 +0000 (02:03 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 6 Jan 2018 00:03:54 +0000 (02:03 +0200)
app-crypt/gpgme/gpgme-9999.ebuild

index 134a3e18cd19aff3a729b0d6cd707e7ee2c2db77..e9ff4a13a87d29e8ea33627c5f4fd51487bb22d1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -65,21 +65,6 @@ src_configure() {
                export MOC="$(qt5_get_bindir)/moc"
        fi
 
-       if [[ ${CHOST} == *-darwin* ]] ; then
-               # FIXME: I don't know how to select on C++11 (libc++) here, but
-               # I do know all Darwin users are using C++11.  This should also
-               # apply to GCC 4.7+ with libc++, and basically anyone targetting
-               # it.
-
-               # The C-standard doesn't define strdup, and C++11 drops it
-               # resulting in an implicit declaration of strdup error.  Since
-               # it is in POSIX raise the feature set to that.
-               append-cxxflags -D_POSIX_C_SOURCE=200112L
-
-               # Work around bug 601834
-               use python && append-cflags -D_DARWIN_C_SOURCE
-       fi
-
        econf \
                --enable-languages="${languages[*]}" \
                $(use_enable static-libs static)