summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-12 06:26:26 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-12 06:26:26 +0000
commit7d6cb208f8f908c0bae0b8a3fefd45420c302c01 (patch)
treec3cab25863eca470acfa81808adb4c203e6422b2 /lib
parent45758ed2b122552a024be9a2347bcd0824ede2cc (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@
Diffstat (limited to 'lib')
-rw-r--r--lib/fontconfig/src/Makefile8
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