aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/poppler
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-02-24 20:36:14 +0800
committerkwm <kwm@FreeBSD.org>2012-02-24 20:36:14 +0800
commit11a7eb7962a1af2de2ea255e2e8f11164199dfac (patch)
tree1b29a5b6c64b9725e2c3edd1da137b9e52f191c5 /graphics/poppler
parentfaec826fbfb678b965fca18d8e0eb0dee2420b7b (diff)
downloadfreebsd-ports-gnome-11a7eb7962a1af2de2ea255e2e8f11164199dfac.tar.gz
freebsd-ports-gnome-11a7eb7962a1af2de2ea255e2e8f11164199dfac.tar.zst
freebsd-ports-gnome-11a7eb7962a1af2de2ea255e2e8f11164199dfac.zip
Overwrite the moc detection test to fix the build of poppler-qt4 on < 9.0,
or if qt33 is installed. PR: ports/165438 [1] Reported by: ale@, rakuco@, Justin Smith <freebsd.users@gmail.com> [1] angelv <angelvg@gmail.com>
Diffstat (limited to 'graphics/poppler')
-rw-r--r--graphics/poppler/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index be984114ba14..c95c6361d089 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -57,6 +57,7 @@ CONFIGURE_ARGS+=--disable-poppler-glib
.if ${SLAVEPORT}=="qt4"
CONFIGURE_ARGS+=--enable-poppler-qt4
+CONFIGURE_ENV+= ac_cv_prog_MOCQT4=${LOCALBASE}/bin/moc-qt4
USE_QT_VER+= 4
QT_COMPONENTS= gui corelib xml qtestlib moc_build
# It requires poppler/splash to be built unless you disable splash backend