pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail Replace any "/" in OPSYS name with a "-"...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbce9fd94e46
branches:  trunk
changeset: 464098:dbce9fd94e46
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Dec 03 22:11:02 2003 +0000

description:
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:

 mail/sendmail/Makefile        |  8 ++++----
 mail/sendmail/Makefile.common |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 3a1165441457 -r dbce9fd94e46 mail/sendmail/Makefile
--- a/mail/sendmail/Makefile    Wed Dec 03 22:10:36 2003 +0000
+++ b/mail/sendmail/Makefile    Wed Dec 03 22:11:02 2003 +0000
@@ -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 @@
 .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 @@
 .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 -r 3a1165441457 -r dbce9fd94e46 mail/sendmail/Makefile.common
--- a/mail/sendmail/Makefile.common     Wed Dec 03 22:10:36 2003 +0000
+++ b/mail/sendmail/Makefile.common     Wed Dec 03 22:11:02 2003 +0000
@@ -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 @@
        ${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}



Home | Main Index | Thread Index | Old Index