giflib in graphics/gdal

Rainer Hurling rhurlin at gwdg.de
Tue Feb 21 07:39:46 UTC 2012


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


More information about the freebsd-ports mailing list