diff options
author | dinoex <dinoex@FreeBSD.org> | 2005-01-08 22:35:41 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2005-01-08 22:35:41 +0800 |
commit | f9fb0c5305e929a792e0f101a4efa3713885c8eb (patch) | |
tree | 23075fa1400d464955d0339ed9b6df8ea3565939 /mail | |
parent | 2c09c9d6f4fc9a0d1d5ecc5ac173698792d33533 (diff) | |
download | freebsd-ports-gnome-f9fb0c5305e929a792e0f101a4efa3713885c8eb.tar.gz freebsd-ports-gnome-f9fb0c5305e929a792e0f101a4efa3713885c8eb.tar.zst freebsd-ports-gnome-f9fb0c5305e929a792e0f101a4efa3713885c8eb.zip |
- new option SENDMAIL_WITHOUT_NIS
PR: 75788
Submitted by: Oleg Sharoiko
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 203ed6d680a5..3d70ce1f26a1 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -39,6 +39,7 @@ MILTER_SOVER?= 3 # Options to define Features: # SENDMAIL_WITHOUT_IPV6=yes # SENDMAIL_WITHOUT_MILTER=yes +# SENDMAIL_WITHOUT_NIS=yes # SENDMAIL_WITHOUT_SHMEM=yes # SENDMAIL_WITH_TLS=yes # SENDMAIL_WITH_SMTPS=yes @@ -245,6 +246,13 @@ PLIST_SUB+= MILTER_SHARED="@comment " .endif .endif +SED_SCRIPT= -e "s;\`-pthread\';\`${PTHREAD_LIBS}\';" \ + -e "s;\`-O\';\`${CFLAGS}\';" + +.if defined(SENDMAIL_WITHOUT_NIS) +SED_SCRIPT+= -e "s;-DNIS ;;" +.endif + post-extract: @${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/sm-client.sh \ > ${WRKSRC}/sm-client.sh @@ -275,9 +283,7 @@ pre-configure: do-configure: @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed - ${SED} -e "s;\`-pthread\';\`${PTHREAD_LIBS}\';" \ - -e "s;\`-O\';\`${CFLAGS}\';" \ - ${WRKSRC}/devtools/OS/FreeBSD.sed \ + ${SED} ${SED_SCRIPT} ${WRKSRC}/devtools/OS/FreeBSD.sed \ > ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \ -e "s=%%LOCALBASE%%=${LOCALBASE}=g" \ |