summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-10-26 06:09:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-10-26 06:09:28 +0000
commitc3b8bbe35396162296e3ed9e5b27e9dd705b344c (patch)
treee9b9163685d777e133c194a4db4cc21ce307e017 /lib
parentcca0a41f4a0c808b3ba2504cbfced4ac7c02509c (diff)
Make install of freetype2.pc consistent with other xenocara modules.
(don't install it during make includes but during make install). ok espie@
Diffstat (limited to 'lib')
-rw-r--r--lib/freetype/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/freetype/Makefile b/lib/freetype/Makefile
index 63b028062..987fdbbdb 100644
--- a/lib/freetype/Makefile
+++ b/lib/freetype/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2012/10/13 17:16:20 espie Exp $
+# $OpenBSD: Makefile,v 1.27 2012/10/26 06:09:27 matthieu Exp $
FREETYPESRC= ${.CURDIR}/src
@@ -47,8 +47,8 @@ includes::
${INSTALL_DATA} ${.CURDIR}/builds/unix/ftconfig.h \
${DESTDIR}${X11BASE}/include/freetype2/freetype/config/ftconfig.h
-includes:: freetype2.pc
- ${INSTALL_DATA} freetype2.pc ${DESTDIR}${X11BASE}/lib/pkgconfig
+install-pc: freetype2.pc
+ ${INSTALL_DATA} freetype2.pc ${DESTDIR}${LIBDIR}/pkgconfig
includes:: freetype-config
${INSTALL} ${INSTALL_COPY} -m 755 -o $(BINOWN) -g $(BINGRP) \
@@ -73,6 +73,8 @@ freetype-config: freetype-config.in
< ${.CURDIR}/builds/unix/freetype-config.in \
> freetype-config
+realinstall: install-pc
+
NOPROFILE=
.include <bsd.lib.mk>