diff options
Diffstat (limited to 'system/fakeroot')
-rw-r--r-- | system/fakeroot/README | 5 | ||||
-rw-r--r-- | system/fakeroot/fakeroot.SlackBuild | 2 | ||||
-rw-r--r-- | system/fakeroot/fakeroot.info | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/system/fakeroot/README b/system/fakeroot/README index 57e066a737..f0f7c8e1c3 100644 --- a/system/fakeroot/README +++ b/system/fakeroot/README @@ -3,5 +3,6 @@ root privileges. This is done by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around getuid, chown, chmod, mknod, stat, and so on, thereby creating a fake root environment. -By passing MANPO=no to the SlackBuild, you can skip installing of -non-English man pages. If so, po4a is not required to build the package. +po4a is optional, auto-detected dependency, needed for building non-English +man pages. You can skip building them by passing MANPO=no to the build script. +Passing MANPO=yes will make the script fail if po4a is not installed. 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 .. diff --git a/system/fakeroot/fakeroot.info b/system/fakeroot/fakeroot.info index 0989c8bcb7..577d27e42d 100644 --- a/system/fakeroot/fakeroot.info +++ b/system/fakeroot/fakeroot.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.21.orig.t MD5SUM="be5c9a0e516869fca4a6758105968e5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="po4a" +REQUIRES="" MAINTAINER="Andrzej Telszewski" EMAIL="atelszewski@gmail.com" |