mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 12:19:10 +00:00
Add back a libtool archive for libfontconfig.
OpenBSD's libtool needs it for libraries with dependencies. prodded by espie@
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2013/03/12 06:26:25 matthieu Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2013/03/13 23:56:54 matthieu Exp $
|
||||
|
||||
FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig
|
||||
|
||||
@@ -63,17 +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
|
||||
|
||||
beforeinstall:
|
||||
@if [ -f ${DESTDIR}${LIBDIR}/libfontconfig.la ]; then \
|
||||
echo "rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la" ; \
|
||||
rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la ; \
|
||||
fi
|
||||
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
|
||||
|
||||
|
||||
41
lib/fontconfig/src/libfontconfig.la.in
Normal file
41
lib/fontconfig/src/libfontconfig.la.in
Normal file
@@ -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@'
|
||||
Reference in New Issue
Block a user