summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 15:58:42 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 15:58:42 +0200
commitd16d27730bca5a93e4288748778cae030d6fcb7c (patch)
tree503961405ade4f0db4838d2d69796601987ff572
parentaf64a788677eac2cac5d1182ade187cad03126c3 (diff)
downloadsendmail-d16d27730bca5a93e4288748778cae030d6fcb7c.tar.gz
add support for installing the shared libmilter to the sendmail build system
-rw-r--r--debian/patches/8.14/8.14.4/shared_libmilter.patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/patches/8.14/8.14.4/shared_libmilter.patch b/debian/patches/8.14/8.14.4/shared_libmilter.patch
index 92e1c12..c41d855 100644
--- a/debian/patches/8.14/8.14.4/shared_libmilter.patch
+++ b/debian/patches/8.14/8.14.4/shared_libmilter.patch
@@ -1,6 +1,6 @@
--- a/libmilter/Makefile.m4
+++ b/libmilter/Makefile.m4
-@@ -29,6 +29,22 @@ POPDIVERT
+@@ -29,6 +29,28 @@ POPDIVERT
divert(bldTARGETS_SECTION)
@@ -16,6 +16,12 @@
+ ${libmilterOBJS}
+ ${LN} ${LNOPTS} libmilter.so.${sm_libmilter_version} libmilter.so
+
++install-libmilter: install-libmilter-shared
++install-libmilter-shared: libmilter.so.${sm_libmilter_version}
++ ${INSTALL} -d ${DESTDIR}${LIBDIR}
++ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} libmilter.so.${sm_libmilter_version} ${DESTDIR}${LIBDIR}
++ ${LN} ${LNOPTS} libmilter.so.${sm_libmilter_version} ${DESTDIR}${LIBDIR}/libmilter.so
++
+libmilter-clean: libmilter-clean-shared
+libmilter-clean-shared:
+ rm -f libmilter.so libmilter.so.${sm_libmilter_version}