From 7d6cb208f8f908c0bae0b8a3fefd45420c302c01 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 12 Mar 2013 06:26:26 +0000 Subject: 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@ --- lib/fontconfig/src/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3