aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-11 22:50:58 +0800
committersobomax <sobomax@FreeBSD.org>2001-12-11 22:50:58 +0800
commit78b687ffed26e4d3d34db2d7d7476594253a1c0e (patch)
treee8e4610b7429568989c12c2bce7bf8eae6b1726a /graphics/imlib
parent04c6cca1735b39d0465741f022d227872ef73366 (diff)
downloadfreebsd-ports-gnome-78b687ffed26e4d3d34db2d7d7476594253a1c0e.tar.gz
freebsd-ports-gnome-78b687ffed26e4d3d34db2d7d7476594253a1c0e.tar.zst
freebsd-ports-gnome-78b687ffed26e4d3d34db2d7d7476594253a1c0e.zip
Explicitly pass --x-{includes,libraries} to the configure script, so that the
port works even for the non-standard X11BASE's (like /opt or such). Prompted by: mi
Diffstat (limited to 'graphics/imlib')
-rw-r--r--graphics/imlib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 121fa1ad4992..6ab42053acc6 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -22,7 +22,9 @@ USE_X_PREFIX= yes
USE_GTK= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib --disable-modules
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib --disable-modules \
+ --x-includes=${X11BASE}/include \
+ --x-libraries=${X11BASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"