summaryrefslogtreecommitdiffstats
path: root/system/fakeroot/fakeroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fakeroot/fakeroot.SlackBuild')
-rw-r--r--system/fakeroot/fakeroot.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild
index 85cae0239c..ed0dbfb4b7 100644
--- a/system/fakeroot/fakeroot.SlackBuild
+++ b/system/fakeroot/fakeroot.SlackBuild
@@ -87,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install-exec
-if [ ${MANPO:-yes} != no ]; then
+if [ -z "$MANPO" -a -x /usr/bin/po4a ] || [ "$MANPO" = yes ]; then
cd doc
po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg
cd ..