Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 08:39:38 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-ports@freebsd.org
Cc:        sunpoet@FreeBSD.org
Subject:   giflib in graphics/gdal
Message-ID:  <4F434A3A.4060208@gwdg.de>

next in thread | raw e-mail | index | archive | help
Dear list,

after changing from graphics/ungif to graphics/giflib there is a problem 
with building graphics/gdal. Because other ports depending on it, this 
should be corrected as soon as possible, I think.

The patch could be something like this:

--- Makefile.orig       2012-02-08 07:52:24.000000000 +0100
+++ Makefile    2012-02-21 08:34:04.000000000 +0100
@@ -104,7 +104,7 @@
  .endif

  .if !defined(WITHOUT_GIF)
-LIB_DEPENDS+=          ungif.5:${PORTSDIR}/graphics/libungif
+LIB_DEPENDS+=          gif.5:${PORTSDIR}/graphics/giflib
  CONFIGURE_ARGS+=       --with-gif=${LOCALBASE}
  .endif

@@ -276,9 +276,6 @@
  .endif

  post-patch:
-.if !defined(WITHOUT_GIF)
-       @${REINPLACE_CMD} -e 's|lgif|lungif|' ${WRKSRC}/configure
-.endif
  .if defined(WITH_PYTHON)
         @${REINPLACE_CMD} -e '\
                 s,%%MAKE_ENV%%,${MAKE_ENV},; \


Rainer Hurling



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F434A3A.4060208>