Source-Changes-HG archive

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

[src/netbsd-1-5]: src/gnu/usr.sbin/sendmail/cf/cf Pull up revs 1.7->1.12 to n...



details:   https://anonhg.NetBSD.org/src/rev/663468142ca0
branches:  netbsd-1-5
changeset: 489291:663468142ca0
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Mon Aug 28 04:13:09 2000 +0000

description:
Pull up revs 1.7->1.12 to netbsd-1-5 branch, OK'd by thorpej:

1.12:
Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb%enteract.com@localhost>

1.11:
add that netbsd-proto.cf now depends on netbsd-proto-IPv4only.mc

1.10:
Allow to override CFDIR from command line.

1.9:
Pass ${INSTPRIV} to ${INSTALL}.

1.8:
- Simplify modifiers.
- Wrap long line.

diffstat:

 gnu/usr.sbin/sendmail/cf/cf/Makefile |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 5d0ecd1596f9 -r 663468142ca0 gnu/usr.sbin/sendmail/cf/cf/Makefile
--- a/gnu/usr.sbin/sendmail/cf/cf/Makefile      Mon Aug 28 04:01:58 2000 +0000
+++ b/gnu/usr.sbin/sendmail/cf/cf/Makefile      Mon Aug 28 04:13:09 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6.2.1 2000/07/07 11:10:55 itojun Exp $
+#      $NetBSD: Makefile,v 1.6.2.2 2000/08/28 04:13:09 hubertf Exp $
 #      install these sources in /usr/share/sendmail/cf
 
 DIST=          ${.CURDIR}/../../../../dist
@@ -12,7 +12,7 @@
 .if (${.CURDIR} == ${FILESDIR})
 CFDIR=         ${.CURDIR}/..
 .else
-CFDIR=         ${DIST}/sendmail/cf
+CFDIR?=                ${DIST}/sendmail/cf
 .endif
 CHMOD=         chmod
 M4=            m4
@@ -33,6 +33,16 @@
 
 realall: ${ALL}
 
+# netbsd-proto.mc pulls in netbsd-proto-IPv4only.mc
+netbsd-proto.cf: netbsd-proto-IPv4only.mc
+
+afterinstall:
+       sed 's,../../../../usr.sbin/sendmail/cf/cf/,,g' \
+               <${DESTDIR}${FILESDIR}/netbsd-proto.mc \
+               >${DESTDIR}${FILESDIR}/netbsd-proto.mc.new
+       mv ${DESTDIR}${FILESDIR}/netbsd-proto.mc.new ${DESTDIR}${FILESDIR}/netbsd-proto.mc
+       ${CHMOD} ${ROMODE} ${DESTDIR}${FILESDIR}/netbsd-proto.mc
+
 # XXX not friendly with "make obj"
 others: ${OTHERS}
 



Home | Main Index | Thread Index | Old Index