ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / mail / sendmail / patches / shared-library.m4.patch
blobf1bbf1c5d023430a93abe012c88e04b2f9017c63
1 # This patch has been fed upstream.
2 --- /dev/null 2013-06-18 19:31:00.000000000 -0700
3 +++ sendmail-8.14.7/devtools/M4/UNIX/shared-library.m4 2013-06-18 20:02:40.335623219 -0700
4 @@ -0,0 +1,35 @@
5 +divert(-1)
6 +#
7 +# Copyright (c) 1999-2001, 2006 Sendmail, Inc. and its suppliers.
8 +# All rights reserved.
9 +#
10 +# By using this file, you agree to the terms and conditions set
11 +# forth in the LICENSE file which can be found at the top level of
12 +# the sendmail distribution.
15 +# Definitions for Makefile construction for sendmail
17 +# $Id: library.m4,v 8.11 2006/09/05 22:56:53 ca Exp $
19 +divert(0)dnl
20 +include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/links.m4')dnl
21 +bldLIST_PUSH_ITEM(`bldC_PRODUCTS', bldCURRENT_PRODUCT)dnl
22 +bldPUSH_TARGET(bldCURRENT_PRODUCT`.so')dnl
23 +bldPUSH_INSTALL_TARGET(`install-'bldCURRENT_PRODUCT)dnl
24 +bldPUSH_CLEAN_TARGET(bldCURRENT_PRODUCT`-clean')dnl
26 +include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4')
27 +divert(bldTARGETS_SECTION)
28 +bldCURRENT_PRODUCT.so: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
29 + ${CCLINK} ${LDOPTS} -shared -o bldCURRENT_PRODUCT.so ${bldCURRENT_PRODUCT`OBJS'} -lc
30 +ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
32 +install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so
33 +ifdef(`bldINSTALLABLE', ` ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${LIBDIR} ]; then confMKDIR -p ${DESTDIR}${LIBDIR}; else :; fi ')
34 + ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.so ${DESTDIR}${LIBDIR}')
36 +bldCURRENT_PRODUCT-clean:
37 + rm -f ${OBJS} bldCURRENT_PRODUCT.so ${MANPAGES}
39 +divert(0)