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@
This commit is contained in:
matthieu
2013-03-12 06:26:25 +00:00
parent 118cf232b6
commit e99a31b0f4

View File

@@ -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