app-crypt/gpgme: remove include file slot
authorAlon Bar-Lev <alonbl@gentoo.org>
Wed, 19 Oct 2016 05:47:05 +0000 (08:47 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Wed, 19 Oct 2016 05:47:05 +0000 (08:47 +0300)
Package-Manager: portage-2.3.0

app-crypt/gpgme/gpgme-1.7.1-r1.ebuild [moved from app-crypt/gpgme/gpgme-1.7.1.ebuild with 92% similarity]

similarity index 92%
rename from app-crypt/gpgme/gpgme-1.7.1.ebuild
rename to app-crypt/gpgme/gpgme-1.7.1-r1.ebuild
index de6760d1f844f19ca97513549b4b58fee1dc00e8..6a9c547c72393910a24763a48b5a7e64f5257f8e 100644 (file)
@@ -63,7 +63,6 @@ src_configure() {
        fi
 
        econf \
-               --includedir="${EPREFIX}/usr/include/gpgme" \
                --enable-languages="${languages[*]}" \
                $(use_enable static-libs static)
 
@@ -81,4 +80,9 @@ src_install() {
        default
        do_python
        prune_libtool_files
+
+       # backward compatibility for gentoo
+       # in the past we had slots
+       dodir /usr/include/gpgme
+       dosym ../gpgme.h /usr/include/gpgme/gpgme.h
 }