diff options
author | mezz <mezz@FreeBSD.org> | 2008-07-04 02:45:44 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-07-04 02:45:44 +0800 |
commit | b4f4b7ea4a020e02e870506c6a2648a2ea0ecf5e (patch) | |
tree | 125fea83b1b9b4c2dcd780952f2a5f58e17fe69d /graphics/poppler | |
parent | b84dcb48c3e86414e45b1d90f933b6fb79b547c9 (diff) | |
download | freebsd-ports-gnome-b4f4b7ea4a020e02e870506c6a2648a2ea0ecf5e.tar.gz freebsd-ports-gnome-b4f4b7ea4a020e02e870506c6a2648a2ea0ecf5e.tar.zst freebsd-ports-gnome-b4f4b7ea4a020e02e870506c6a2648a2ea0ecf5e.zip |
Fix the build in QA Tindy for not able to find moc-qt4 by 'which moc-qt4', so
add a patch to replace from 'which moc-qt4' to '${LOCALBASE}/bin/moc-qt4'.
Reported by: QA Tindy
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 3f81bf36e088..9354466d6c19 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -102,6 +102,10 @@ post-patch: ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$QTDIR|${QT_PREFIX}|' ${WRKSRC}/configure .endif +.if defined(SLAVEPORT) && ${SLAVEPORT}=="qt4" + @${REINPLACE_CMD} -e 's|MOCQT4=`.*|MOCQT4="${LOCALBASE}/bin/moc-qt4"|' \ + ${WRKSRC}/configure +.endif post-install: .if defined(SLAVEPORT) |