summaryrefslogtreecommitdiffstats
path: root/x/fontconfig
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2013-03-03 19:25:51 +0100
committerAdrien Nader <adrien@notk.org>2013-03-03 19:29:17 +0100
commit9d916bd5543c646891dc63c946485d8ecff4d89a (patch)
tree5eebe483c4e3e739e2241b11efa099251c865b2a /x/fontconfig
parent8cedf9d5a296273cdfc1db2ca2852b4c89e12344 (diff)
fontconfig: fix path not containing ${PREFIX}/.
Diffstat (limited to 'x/fontconfig')
-rwxr-xr-xx/fontconfig/fontconfig.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/x/fontconfig/fontconfig.SlackBuild b/x/fontconfig/fontconfig.SlackBuild
index d7e58d4..54f51d8 100755
--- a/x/fontconfig/fontconfig.SlackBuild
+++ b/x/fontconfig/fontconfig.SlackBuild
@@ -96,7 +96,7 @@ make install DESTDIR=$PKG || exit 1
# following the new standard location will work. Let's hear it for being
# "more correct" at the expense of having things "just work"!
mkdir -p $PKG/${PREFIX}/share/fontconfig
-( cd $PKG/${PREFIX}/share/fontconfig ; ln -sf /etc/fonts/conf.avail . )
+( cd $PKG/${PREFIX}/share/fontconfig ; ln -sf /${PREFIX}/etc/fonts/conf.avail . )
mkdir -p $PKG/${PREFIX}/doc/fontconfig-$VERSION
cp -a \
@@ -117,8 +117,8 @@ fi
find $PKG | xargs file | egrep "executable|shared object" \
| grep ${HOST_EXE_FORMAT} | cut -f 1 -d : | xargs ${HOST_STRIP} --strip-unneeded 2> /dev/null
-# Set up the default options in /etc/fonts/conf.d:
-( cd $PKG/etc/fonts/conf.d
+# Set up the default options in /${PREFIX}/etc/fonts/conf.d:
+( cd $PKG/${PREFIX}/etc/fonts/conf.d
for fontconf in \
20-unhint-small-vera.conf \
30-urw-aliases.conf \
@@ -146,7 +146,7 @@ find $PKG | xargs file | egrep "executable|shared object" \
fi
)
if [ ! $? = 0 ]; then
- echo "Missing /etc/fonts/$fontconf default. Exiting"
+ echo "Missing /${PREFIX}/etc/fonts/$fontconf default. Exiting"
exit 1
fi