openbsd-ports/devel/dconf/patches/patch-dbus-1_Makefile_in
2011-04-13 17:05:11 +00:00

56 lines
2.3 KiB
Plaintext

$OpenBSD: patch-dbus-1_Makefile_in,v 1.2 2011/04/13 17:05:11 ajacoutot Exp $
--- dbus-1/Makefile.in.orig Tue Mar 22 17:09:56 2011
+++ dbus-1/Makefile.in Tue Apr 5 15:02:28 2011
@@ -34,7 +34,7 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-shlib_PROGRAMS = libdconf-dbus-1.so.0.0.0$(EXEEXT)
+shlib_PROGRAMS = libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}
subdir = dbus-1
DIST_COMMON = $(dconf_dbus_1include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/dconf-dbus-1.pc.in
@@ -227,14 +227,14 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dconf-dbus-1.pc
shlibdir = $(libdir)
libdconf_dbus_1_so_0_0_0_LDADD = $(glib_LIBS) $(dbus_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 = \
../engine/dconf-engine.c \
../common/dconf-shmdir.c \
../gvdb/gvdb-reader.c \
dconf-dbus-1.c
-noinst_DATA = libdconf-dbus-1.so libdconf-dbus-1.so.0
+noinst_DATA =
CLEANFILES = libdconf-dbus-1.so.0 libdconf-dbus-1.so
all: all-am
@@ -309,8 +309,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)
- @rm -f libdconf-dbus-1.so.0.0.0$(EXEEXT)
+libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}: $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES)
+ @rm -f libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}
$(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:
@@ -633,14 +633,6 @@ uninstall-am: uninstall-dconf_dbus_1includeHEADERS \
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-dconf_dbus_1includeHEADERS \
uninstall-hook uninstall-pkgconfigDATA uninstall-shlibPROGRAMS
-
-
-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