aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 14:36:23 +0800
committerreg <reg@FreeBSD.org>2000-10-05 14:36:23 +0800
commit97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch)
treea059ae14b97a6e427c4c5a801e98bb245e73742e /graphics/imlib2
parent38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff)
downloadfreebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz
freebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.zst
freebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip
Implement USE_GTK, part 1.
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