aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/djvulibre
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-05 05:05:29 +0800
committerrafan <rafan@FreeBSD.org>2006-12-05 05:05:29 +0800
commit56687936e1fb4abab3a348505a0ea92672a59606 (patch)
tree4aad369ac571632ce4fb588d0fb1a4161e197e51 /graphics/djvulibre
parent14039de41017994e0d2ba5ae1dc2ed31160d9d8a (diff)
downloadfreebsd-ports-gnome-56687936e1fb4abab3a348505a0ea92672a59606.tar.gz
freebsd-ports-gnome-56687936e1fb4abab3a348505a0ea92672a59606.tar.zst
freebsd-ports-gnome-56687936e1fb4abab3a348505a0ea92672a59606.zip
- Respect X11BASE for Qt
- Define USE_XLIB since it uses it when Qt support is enabled Thus, no need to pass X11BASE in CONFIGURE_ENV Reported by: pointyhat
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index fe7573bb9c82..5dad99a55aa7 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CXX="${CXX}" \
- X11BASE="${X11BASE}"
+ QTDIR="${X11BASE}"
CONFIGURE_ARGS= --enable-threads=pthread --enable-shared
USE_LDCONFIG= yes
@@ -44,6 +44,7 @@ MAN1+= ${MAN1EXTRA}
PORTDOCS= djvu2spec.djvu lizard2002.djvu
.if !defined(WITHOUT_X11)
+USE_XLIB= yes
USE_QT_VER= 3
CONFIGURE_ENV+= QTLIBS="-L${X11BASE}/lib -lqt-mt"
MAN1+= djview.1 nsdejavu.1