diff options
author | manu <manu> | 2003-04-17 16:13:54 +0000 |
---|---|---|
committer | manu <manu> | 2003-04-17 16:13:54 +0000 |
commit | a639d71b3b5e585222bb83418f799295ef4a3a5a (patch) | |
tree | 9ae208ca294048e1ecc3e33d256eaa877bd46be9 /mail | |
parent | d8f75df41bdf7652e7ccfe6c0c4ae52cc60c6da0 (diff) | |
download | pkgsrc-a639d71b3b5e585222bb83418f799295ef4a3a5a.tar.gz |
If USE_MILTER, install libsm.a and libsmutil.a. They are needed in
order to build amavis-perl 0.1 with milter support.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index e49022b5478..16a9564c7a1 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.56 2003/03/04 00:21:31 seb Exp $ +# $NetBSD: Makefile,v 1.57 2003/04/17 16:13:54 manu Exp $ .include "../../mail/sendmail/Makefile.common" -PKGNAME= sendmail-${DIST_VERS} +PKGNAME= sendmail-${DIST_VERS}nb1 COMMENT= The well known Mail Transport Agent MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC @@ -93,6 +93,15 @@ post-install: .if ${USE_DB2} == YES ${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE} .endif +.if defined(USE_MILTER) && ${USE_MILTER} == "YES" + ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ .`/libsm/libsm.a \ + ${PREFIX}/lib + ${INSTALL_DATA} \ + ${WRKSRC}/obj.`uname -srm | ${TR} \ .`/libsmutil/libsmutil.a \ + ${PREFIX}/lib + ${ECHO} "lib/libsm.a" >> ${WRKDIR}/.PLIST_SRC + ${ECHO} "lib/libsmutil.a" >> ${WRKDIR}/.PLIST_SRC +.endif USE_PKGINSTALL= yes PKG_GROUPS= smmsp |