aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib2
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index f108ba488e84..1ae7fe824d35 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -15,22 +15,16 @@ MAINTAINER= vanilla@FreeBSD.org
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
- ungif.5:${PORTSDIR}/graphics/libungif \
- gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+ ungif.5:${PORTSDIR}/graphics/libungif
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GTK= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib \
- --disable-gtktest
pre-configure:
${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in