summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorreed <reed>2003-12-03 22:11:02 +0000
committerreed <reed>2003-12-03 22:11:02 +0000
commitbdbcc64d38103f7f53463dfe05867eb8d9445d3e (patch)
tree3aedccc846e4fa71a4dbc8892a1501e71c32204a /mail/sendmail
parent26424a25c7ea4734b2aa8abc9d0eef2254c8944d (diff)
downloadpkgsrc-bdbcc64d38103f7f53463dfe05867eb8d9445d3e.tar.gz
Replace any "/" in OPSYS name with a "-". Sendmail's build
mechanism already does this, so pkgsrc for this should do the same. Make sure getipnodebyaddr is used under BSD/OS. This closes PR #23060.
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile8
-rw-r--r--mail/sendmail/Makefile.common4
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 76202e0645f..75d5553ed02 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2003/12/02 05:45:12 ben Exp $
+# $NetBSD: Makefile,v 1.66 2003/12/03 22:11:02 reed Exp $
.include "../../mail/sendmail/Makefile.common"
@@ -95,10 +95,10 @@ post-install:
.if ${USE_DB2} == YES
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
.endif
- ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${SED} s/sun4./sun4/`/libsm/libsm.a \
+ ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsm/libsm.a \
${PREFIX}/lib
${INSTALL_DATA} \
- ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${SED} s/sun4./sun4/`/libsmutil/libsmutil.a \
+ ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsmutil/libsmutil.a \
${PREFIX}/lib
USE_PKGINSTALL= yes
@@ -108,4 +108,4 @@ PKG_USERS= smmsp:smmsp::Sendmail\\ Message\\ Submission\\ Program
.include "../../mk/bsd.pkg.mk"
# has to be below include for bsd.pkg.mk, else substition fails
-OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ .`
+OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ . | ${TR} \/ -`
diff --git a/mail/sendmail/Makefile.common b/mail/sendmail/Makefile.common
index 28da0de671f..185b2e14c9b 100644
--- a/mail/sendmail/Makefile.common
+++ b/mail/sendmail/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.12 2003/10/03 10:34:02 seb Exp $
+# $NetBSD: Makefile.common,v 1.13 2003/12/03 22:11:02 reed Exp $
#
# Makefile fragment shared with libmilter
#
@@ -44,7 +44,7 @@ make-sendmail-siteconfig:
${ECHO} -n 'compiled features:' >>${DESCR_SRC}
.if defined(USE_INET6) && ${USE_INET6} == YES
${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
-.if ${OPSYS} != "SunOS"
+.if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS"
${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
.endif
${ECHO} -n ' INET6' >>${DESCR_SRC}