openbsd-ports/devel/dconf/patches/patch-client_Makefile_in
ajacoutot 6736ec938c Bugfix update to dconf-0.7.5.
This should be the latest release before the new stable 0.8.
2011-05-09 08:43:45 +00:00

59 lines
2.2 KiB
Plaintext

$OpenBSD: patch-client_Makefile_in,v 1.5 2011/05/09 08:43:45 ajacoutot Exp $
--- client/Makefile.in.orig Mon May 9 10:10:12 2011
+++ client/Makefile.in Mon May 9 10:28:38 2011
@@ -34,7 +34,7 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-shlib_PROGRAMS = libdconf.so.0.0.0$(EXEEXT)
+shlib_PROGRAMS = libdconf.so.${LIBdconf_VERSION}$(EXEEXT)
subdir = client
DIST_COMMON = $(dconfinclude_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/dconf.pc.in dconf-client.c \
@@ -228,13 +228,13 @@ top_srcdir = @top_srcdir@
AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings -D__dconf_h__ -fPIC -DPIC
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS)
shlibdir = $(libdir)
-nodist_noinst_DATA = libdconf.so.0 libdconf.so
+nodist_noinst_DATA =
dconfinclude_HEADERS = \
dconf-client.h \
dconf.h
libdconf_so_0_0_0_LDADD = $(gio_LIBS)
-libdconf_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf.so.0
+libdconf_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf.so.${LIBdconf_VERSION}
libdconf_so_0_0_0_SOURCES = \
../common/dconf-shmdir.c \
../common/dconf-paths.c \
@@ -322,8 +322,8 @@ uninstall-shlibPROGRAMS:
clean-shlibPROGRAMS:
-test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
-libdconf.so.0.0.0$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES)
- @rm -f libdconf.so.0.0.0$(EXEEXT)
+libdconf.so.${LIBdconf_VERSION}$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES)
+ @rm -f libdconf.so.${LIBdconf_VERSION}$(EXEEXT)
$(AM_V_CCLD)$(libdconf_so_0_0_0_LINK) $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_LDADD) $(LIBS)
mostlyclean-compile:
@@ -695,17 +695,12 @@ uninstall-am: uninstall-dconfincludeHEADERS uninstall-
uninstall-vapiDATA
-libdconf.so.0 libdconf.so: libdconf.so.0.0.0
- $(AM_V_GEN) ln -fs libdconf.so.0.0.0 $@
-
install-data-hook:
- ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so.0
- ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so
uninstall-hook:
rm -f $(DESTDIR)$(shlibdir)/libdconf.so.0
rm -f $(DESTDIR)$(shlibdir)/libdconf.so
-dconf.vapi: libdconf.so.0
+dconf.vapi: libdconf.so.${LIBdconf_VERSION}
dconf.deps:
$(AM_V_GEN) echo gio-2.0 > dconf.deps