summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-18 08:31:20 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-18 08:32:01 +0100
commit03700281db70e961bde015ce8727d578afc9705b (patch)
treec84f8519da500fbd938cd0016975df9bac4b012e /media-libs/giflib
parentdev-python/isort: bump to 4.3.15 (diff)
downloadgentoo-03700281db70e961bde015ce8727d578afc9705b.tar.gz
gentoo-03700281db70e961bde015ce8727d578afc9705b.tar.bz2
gentoo-03700281db70e961bde015ce8727d578afc9705b.zip
media-libs/giflib: Revbump to fix LDFLAGS and man page installation
Closes: https://bugs.gentoo.org/680826 Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/giflib')
-rw-r--r--media-libs/giflib/files/giflib-5.1.8-gentoo.patch8
-rw-r--r--media-libs/giflib/giflib-5.1.8-r1.ebuild (renamed from media-libs/giflib/giflib-5.1.8.ebuild)1
2 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/giflib/files/giflib-5.1.8-gentoo.patch b/media-libs/giflib/files/giflib-5.1.8-gentoo.patch
index 225f1df1be52..90a72685d343 100644
--- a/media-libs/giflib/files/giflib-5.1.8-gentoo.patch
+++ b/media-libs/giflib/files/giflib-5.1.8-gentoo.patch
@@ -1,6 +1,6 @@
--- giflib-5.1.8/Makefile
+++ giflib-5.1.8/Makefile
-@@ -61,7 +61,6 @@
+@@ -61,12 +61,11 @@
LDLIBS=libgif.a -lm
all: libgif.so libgif.a $(UTILS)
@@ -8,3 +8,9 @@
$(UTILS):: libgif.a
+ libgif.so: $(OBJECTS) $(HEADERS)
+- $(CC) $(CFLAGS) -shared $(OFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS)
++ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS)
+
+ libgif.a: $(OBJECTS) $(HEADERS)
+ $(AR) rcs libgif.a $(OBJECTS)
diff --git a/media-libs/giflib/giflib-5.1.8.ebuild b/media-libs/giflib/giflib-5.1.8-r1.ebuild
index f84e6fa760a9..e16390f179c9 100644
--- a/media-libs/giflib/giflib-5.1.8.ebuild
+++ b/media-libs/giflib/giflib-5.1.8-r1.ebuild
@@ -50,7 +50,6 @@ multilib_src_install() {
DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- MANDIR="${EPREFIX}/usr/share/man/man1" \
install
if ! use static-libs ; then