summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 02:09:58 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 02:09:58 +0200
commit9e47fb5833287697cfe437a4a6932a45b50c2a1c (patch)
treef8482111652d2e21c15abf45de053c352a4af9e6
parent776b33ee8b5bf4f9cd8fc2467eed1d70f5384c11 (diff)
downloadsendmail-9e47fb5833287697cfe437a4a6932a45b50c2a1c.tar.gz
add support for installing static libraries to the sendmail build system
clear the bldINSTALL_DIR settings to ensure missing directories are properly created
-rw-r--r--debian/patches/8.14/8.14.4/install_static_libs.patch33
-rw-r--r--debian/patches/8.14/8.14.4/series1
2 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/8.14/8.14.4/install_static_libs.patch b/debian/patches/8.14/8.14.4/install_static_libs.patch
new file mode 100644
index 0000000..353a34e
--- /dev/null
+++ b/debian/patches/8.14/8.14.4/install_static_libs.patch
@@ -0,0 +1,33 @@
+Description: make the static libaries installable via the sendmail build system
+--- a/libmilter/Makefile.m4
++++ b/libmilter/Makefile.m4
+@@ -10,6 +10,7 @@
+ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+ bldPRODUCT_START(`library', `libmilter')
++define(`bldINSTALL_DIR', `')
+ define(`bldINSTALLABLE', `true')
+ define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
+ APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
+--- a/libsm/Makefile.m4
++++ b/libsm/Makefile.m4
+@@ -6,6 +6,8 @@
+ define(`confREQUIRE_SM_OS_H', `true')
+ PREPENDDEF(`confENVDEF', `confMAPDEF')
+ bldPRODUCT_START(`library', `libsm')
++define(`bldINSTALL_DIR', `')
++define(`bldINSTALLABLE', `true')
+ define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c ')
+ bldPRODUCT_END
+ dnl msg.c
+--- a/libsmutil/Makefile.m4
++++ b/libsmutil/Makefile.m4
+@@ -8,6 +8,8 @@
+ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+ bldPRODUCT_START(`library', `libsmutil')
++define(`bldINSTALL_DIR', `')
++define(`bldINSTALLABLE', `true')
+ define(`bldSOURCES', `debug.c err.c lockfile.c safefile.c snprintf.c cf.c ')
+ APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
+ bldPRODUCT_END
diff --git a/debian/patches/8.14/8.14.4/series b/debian/patches/8.14/8.14.4/series
index 1d34b75..ea67190 100644
--- a/debian/patches/8.14/8.14.4/series
+++ b/debian/patches/8.14/8.14.4/series
@@ -18,3 +18,4 @@ conf.c-ipv6.patch
socket_activation.patch
_ffr_tls_ec.patch
ssl_op_no_tlsv1_x.patch
+install_static_libs.patch