openbsd-ports/devel/dconf/patches/patch-dbus-1_Makefile_in
2013-03-30 18:15:22 +00:00

50 lines
2.3 KiB
Plaintext

$OpenBSD: patch-dbus-1_Makefile_in,v 1.10 2013/03/30 18:15:22 ajacoutot Exp $
--- dbus-1/Makefile.in.orig Mon Mar 25 22:45:12 2013
+++ dbus-1/Makefile.in Fri Mar 29 08:06:39 2013
@@ -54,7 +54,7 @@ POST_UNINSTALL = :
DIST_COMMON = $(dconf_dbus_1include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/dconf-dbus-1.pc.in \
$(top_srcdir)/Makefile.gtester $(top_srcdir)/aux/depcomp
-shlib_PROGRAMS = libdconf-dbus-1.so.0.0.0$(EXEEXT)
+shlib_PROGRAMS = libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT)
subdir = dbus-1
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@@ -348,9 +348,9 @@ libdconf_dbus_1_so_0_0_0_LDADD = \
$(dbus_LIBS) \
$(glib_LIBS)
-libdconf_dbus_1_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf-dbus-1.so.0
+libdconf_dbus_1_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}
libdconf_dbus_1_so_0_0_0_SOURCES = dconf-dbus-1.c
-nodist_noinst_DATA = libdconf-dbus-1.so libdconf-dbus-1.so.0
+nodist_noinst_DATA =
CLEANFILES = libdconf-dbus-1.so.0 libdconf-dbus-1.so
all: all-am
@@ -440,8 +440,8 @@ uninstall-shlibPROGRAMS:
clean-shlibPROGRAMS:
-test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
-libdconf-dbus-1.so.0.0.0$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES)
- @rm -f libdconf-dbus-1.so.0.0.0$(EXEEXT)
+libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES)
+ @rm -f libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT)
$(AM_V_CCLD)$(libdconf_dbus_1_so_0_0_0_LINK) $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_LDADD) $(LIBS)
mostlyclean-compile:
@@ -843,13 +843,6 @@ test-report perf-report full-report: ${TEST_PROGS}
# run tests in cwd as part of make check
check-local: test-nonrecursive
-
-libdconf-dbus-1.so.0 libdconf-dbus-1.so: libdconf-dbus-1.so.0.0.0
- $(AM_V_GEN) ln -fs libdconf-dbus-1.so.0.0.0 $@
-
-install-data-hook:
- ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0
- ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so
uninstall-hook:
rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0