[Buildroot] [PATCH 2/5] package/fbv: Switch to giflib

Peter Korsgaard peter at korsgaard.com
Tue Jan 27 15:17:28 UTC 2015


>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:

 > Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
 > ---
 >  package/fbv/Config.in             |    4 +--
 >  package/fbv/fbv-1.0b-giflib.patch |   69 +++++++++++++++++++++++++++++++++++++
 >  package/fbv/fbv.mk                |   10 +++++-
 >  3 files changed, 80 insertions(+), 3 deletions(-)
 >  create mode 100644 package/fbv/fbv-1.0b-giflib.patch

 > diff --git a/package/fbv/fbv.mk b/package/fbv/fbv.mk
 > index fe24a6f..81881ff 100644
 > --- a/package/fbv/fbv.mk
 > +++ b/package/fbv/fbv.mk
 > @@ -30,7 +30,15 @@ else
 >  FBV_CONFIGURE_OPTS += --without-libjpeg
 >  endif
 >  ifeq ($(BR2_PACKAGE_FBV_GIF),y)
 > -FBV_DEPENDENCIES += libungif
 > +FBV_DEPENDENCIES += giflib
 > +define FBV_CONFIGURE_LIBUNGIF_IS_NOW_GIFLIB
 > +	$(SED) 's|-lungif|-lgif|' $(@D)/configure
 > +endef
 > +FBV_PRE_CONFIGURE_HOOKS += FBV_CONFIGURE_LIBUNGIF_IS_NOW_GIFLIB
 > +define FBV_MAKE_LIBUNGIF_IS_NOW_GIFLIB
 > +	$(SED) 's|-lungif|-lgif|' $(@D)/Make.conf
 > +endef

Why is it needed to patch Make.conf if you already patch configure
(which generates it)?

I would prefer to see the configure changes in the giflib patch
instead. How do the archlinux guys handle it?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list