diff options
-rw-r--r-- | mail/sendmail/Makefile | 11 | ||||
-rw-r--r-- | mail/sendmail/files/site.config.m4-starttls | 4 |
2 files changed, 7 insertions, 8 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 7875ca7fb54..e1733690567 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2002/06/17 13:27:14 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2002/06/17 20:13:10 tron Exp $ DISTNAME= sendmail.8.11.6 PKGNAME= sendmail-8.11.6 @@ -25,10 +25,9 @@ COMMENT= The well known Mail Transport Agent LICENSE= no-profit -NO_CONFIGURE= yes MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \ - BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}" - + BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}" \ + BUILDLINK_DIR="${BUILDLINK_DIR}" WRKSRC= ${WRKDIR}/${PKGNAME:C/nb[0-9]+$//} SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4 @@ -53,7 +52,7 @@ DEPENDS+= openldap-1.2.*:../../databases/openldap DEPENDS+= db-2.7.7:../../databases/db .endif .if defined(USE_STARTTLS) && ${USE_STARTTLS} == YES -USE_SSL= yes +.include "../../security/openssl/buildlink.mk" .endif post-patch: @@ -91,7 +90,7 @@ post-patch: ${ECHO} >> ${DESCR_SRC} do-build: - @(cd ${WRKSRC}; ./Build) + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./Build) post-build: ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ diff --git a/mail/sendmail/files/site.config.m4-starttls b/mail/sendmail/files/site.config.m4-starttls index 9fe83f9fa9f..72fdd2ee7ec 100644 --- a/mail/sendmail/files/site.config.m4-starttls +++ b/mail/sendmail/files/site.config.m4-starttls @@ -1,5 +1,5 @@ # enable STARTTLS -APPENDDEF(`confENVDEF', `-I${LOCALBASE}/include') -APPENDDEF(`confLIBS', `-L${LOCALBASE}/lib') +APPENDDEF(`confENVDEF', `-I${BUILDLINK_DIR}/include') +APPENDDEF(`confLIBS', `-L${BUILDLINK_DIR}/lib') APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS -D_FFR_TLS_TOREK') APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto') |