summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2003-12-03 22:11:02 +0000
committerreed <reed@pkgsrc.org>2003-12-03 22:11:02 +0000
commitb6aad918a4bdb0d0da086e0b90c3419d7339dc26 (patch)
tree3aedccc846e4fa71a4dbc8892a1501e71c32204a /mail/sendmail
parentc74b537b8fd8c7e56b228e394386f029ec5f65fe (diff)
downloadpkgsrc-b6aad918a4bdb0d0da086e0b90c3419d7339dc26.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}