summaryrefslogtreecommitdiff
path: root/lib/fontconfig/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fontconfig/src')
-rw-r--r--lib/fontconfig/src/Makefile15
-rw-r--r--lib/fontconfig/src/libfontconfig.la.in41
2 files changed, 53 insertions, 3 deletions
diff --git a/lib/fontconfig/src/Makefile b/lib/fontconfig/src/Makefile
index ba0d30ce8..34ada90f0 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.3 2013/03/13 23:56:54 matthieu Exp $
FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig
@@ -63,11 +63,20 @@ fcobjshash.h: fcobjshash.gperf
mv -f $@.tmp $@ || ( $(RM) $@.tmp && false )
.endif
-beforedepend: fcalias.h fcftalias.h fcobjshash.h
+beforedepend: fcalias.h fcftalias.h fcobjshash.h lib${LIB}.la
+
+lib${LIB}.la: ${.CURDIR}/lib${LIB}.la.in
+ @sed -e 's#@libdir@#${LIBDIR}#g' \
+ -e 's#@major@#${SHLIB_MAJOR}#g' \
+ -e 's#@minor@#${SHLIB_MINOR}#g' \
+ < $? > $@
+
+afterinstall:
+ ${INSTALL_DATA} lib${LIB}.la ${DESTDIR}${LIBDIR}
obj:_xenocara_obj
-CLEANFILES = fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h
+CLEANFILES = fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h lib${LIB}.la
.PATH: ${FONTCONFIG}/src
diff --git a/lib/fontconfig/src/libfontconfig.la.in b/lib/fontconfig/src/libfontconfig.la.in
new file mode 100644
index 000000000..b5c9717ce
--- /dev/null
+++ b/lib/fontconfig/src/libfontconfig.la.in
@@ -0,0 +1,41 @@
+# libfontconfig.la - a libtool library file
+# Generated by libtool
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libfontconfig.so.@major@.@minor@'
+
+# Names of this library.
+library_names='libfontconfig.so.@major@.@minor@'
+
+# The name of the static archive.
+old_library='libfontconfig.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs='-L/usr/X11R6/lib -lfreetype -lz -lexpat -lpthread-stubs'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libfontconfig.
+current=5
+age=4
+revision=4
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='@libdir@'