diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-12 06:26:26 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-12 06:26:26 +0000 |
commit | 7d6cb208f8f908c0bae0b8a3fefd45420c302c01 (patch) | |
tree | c3cab25863eca470acfa81808adb4c203e6422b2 | |
parent | 45758ed2b122552a024be9a2347bcd0824ede2cc (diff) |
Remove existing stale libfontconfig.la at install time.
fontconfig.la was created by the previous build system and references
the bad library revision.
Suggested by espie@
-rw-r--r-- | lib/fontconfig/src/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/fontconfig/src/Makefile b/lib/fontconfig/src/Makefile index ba0d30ce8..3a5331075 100644 --- a/lib/fontconfig/src/Makefile +++ b/lib/fontconfig/src/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2013/03/09 14:34:46 matthieu Exp $ +# $OpenBSD: Makefile,v 1.2 2013/03/12 06:26:25 matthieu Exp $ FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig @@ -65,6 +65,12 @@ fcobjshash.h: fcobjshash.gperf beforedepend: fcalias.h fcftalias.h fcobjshash.h +beforeinstall: + @if [ -f ${DESTDIR}${LIBDIR}/libfontconfig.la ]; then \ + echo "rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la" ; \ + rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la ; \ + fi + obj:_xenocara_obj CLEANFILES = fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h |