Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/imlib2/Makefile,v
retrieving revision 1.146
diff -u -u -r1.146 Makefile
--- Makefile	19 Nov 2011 07:18:23 -0000	1.146
+++ Makefile	19 Feb 2012 18:37:43 -0000
@@ -80,13 +80,8 @@
 .endif
 
 .if !defined(WITHOUT_GIF)
-. if exists(${LOCALBASE}/lib/libgif.so)
 LIB_DEPENDS+=	gif.5:${PORTSDIR}/graphics/giflib
 PLIST_SUB+=	GIF=""
-. else
-LIB_DEPENDS+=	ungif.5:${PORTSDIR}/graphics/libungif
-PLIST_SUB+=	GIF=""
-. endif
 .else
 CONFIGURE_ARGS+=	--without-gif
 PLIST_SUB+=	GIF="@comment "