summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-23 10:42:42 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-23 10:42:42 +0000
commitb34fe21d98341c2d9ce834a61ce814801f96ca2c (patch)
tree71afe5b6fe2dc38ffff6763eea4010034d9d0352
parent91f017f22cd53203c8d989acd13e6dba5fef4509 (diff)
Missed a sed substitution for freetype2.pc.
Noticed by Frederick C. Druseikis, thanks.
-rw-r--r--lib/freetype/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/freetype/Makefile b/lib/freetype/Makefile
index d2522f265..b16b6fdd1 100644
--- a/lib/freetype/Makefile
+++ b/lib/freetype/Makefile
@@ -1,7 +1,9 @@
-# $OpenBSD: Makefile,v 1.5 2006/12/02 16:28:48 matthieu Exp $
+# $OpenBSD: Makefile,v 1.6 2006/12/23 10:42:41 matthieu Exp $
FREETYPESRC= ${.CURDIR}/src
+FT_VERSION_INFO= 9.10.3 # Get it from builds/unix/configure.ac
+
.ifmake includes
SUBDIR= include
.endif
@@ -42,8 +44,9 @@ includes:: freetype-config
${INSTALL} ${INSTALL_COPY} -m 755 -o $(BINOWN) -g $(BINGRP) \
freetype-config ${DESTDIR}${X11BASE}/bin
-freetype2.pc: freetype2.in
+freetype2.pc: freetype2.in Makefile
sed -e s%@prefix@%${X11BASE}% -e s%@exec_prefix@%${XORG_PREFIX}% \
+ -e s%@ft_version@%${FT_VERSION_INFO}% \
-e s%@includedir@%${INCSDIR}% -e s%@libdir@%${LIBDIR}% \
-e s%@LIBZ@%-lz% < ${.CURDIR}/builds/unix/freetype2.in \
> freetype2.pc