summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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