diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-08-31 13:50:28 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-08-31 13:50:28 +0000 |
commit | 241f1c75f6d773a69d178347ebd32eb0deaa8cc8 (patch) | |
tree | ba938985167c63e1e6c8c80f2cba4a5cf2dbf51c /lib | |
parent | eb11614ee493e80eab53a829e38884dbe89a70de (diff) |
Install relative symlinks in conf.d. Noticed by ajacoutot@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fontconfig/conf.d/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/fontconfig/conf.d/Makefile b/lib/fontconfig/conf.d/Makefile index b4e87b0da..805e93a2b 100644 --- a/lib/fontconfig/conf.d/Makefile +++ b/lib/fontconfig/conf.d/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.6 2013/03/16 15:09:38 matthieu Exp $ +# $OpenBSD: Makefile,v 1.7 2014/08/31 13:50:27 matthieu Exp $ FONTCONFIG = ${.CURDIR}/../../../dist/fontconfig CONFIGDIR = /etc/fonts/conf.d CONFAVAILDIR= /etc/fonts/conf.avail +CONFAVAILREL= ../conf.avail DOC_FILES= \ README @@ -71,9 +72,9 @@ install: @(echo cd ${DESTDIR}${CONFIGDIR}; \ cd ${DESTDIR}${CONFIGDIR}; \ for i in ${CONF_LINKS}; do \ - echo rm $$i";" ln -s ${CONFAVAILDIR}/$$i .; \ + echo rm $$i";" ln -s ${CONFAVAILREL}/$$i .; \ rm -f $$i; \ - ln -s ${CONFAVAILDIR}/$$i .; \ + ln -s ${CONFAVAILREL}/$$i .; \ done) NOOBJ= |