pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ntp4 POSIX says that the target directory for "pax...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f470cda3a1c
branches:  trunk
changeset: 602236:7f470cda3a1c
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Apr 08 16:58:05 2012 +0000

description:
POSIX says that the target directory for "pax -rw" must exist. The pax
implementation in MirBSD enforces this.
Use ${MKDIR} to create the target directory before running pax.

This does not actually fix the build on MirBSD (it needs some more
work in the configure), it is at least a start.

diffstat:

 net/ntp4/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2725bbf8afa7 -r 7f470cda3a1c net/ntp4/Makefile
--- a/net/ntp4/Makefile Sun Apr 08 16:44:40 2012 +0000
+++ b/net/ntp4/Makefile Sun Apr 08 16:58:05 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2011/11/16 08:23:49 sbd Exp $
+# $NetBSD: Makefile,v 1.69 2012/04/08 16:58:05 bsiegert Exp $
 #
 
 DISTNAME=      ntp-4.2.4p8
@@ -29,6 +29,8 @@
 RCD_SCRIPTS=   ntpd ntpdate
 
 post-install:
+       ${MKDIR} ${DOCDIR}
+       ${MKDIR} ${EXAMPLESDIR}
        cd ${WRKSRC}/html && pax -rw -pm . ${DOCDIR}
        cd ${WRKSRC}/conf && pax -rw -pm . ${EXAMPLESDIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ALL_NTP_DOCS}



Home | Main Index | Thread Index | Old Index