Skip to content

Commit

Permalink
media-libs/giflib: Revbump to fix LDFLAGS and man page installation
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/680826
Thanks-to: Arfrever Frehtes Taifersar Arahesis <[email protected]>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Mar 18, 2019
1 parent 9a180e5 commit 0370028
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion media-libs/giflib/files/giflib-5.1.8-gentoo.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
--- 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)
- $(MAKE) -C doc

$(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)
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0370028

Please sign in to comment.