diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2012-04-08 16:58:05 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2012-04-08 16:58:05 +0000 |
commit | 1d434e007f6d6e7e4ca4a74115117754f4a7e54e (patch) | |
tree | 8cabba28893de855b0c18ff35ab1ce350ae2df34 /net | |
parent | 952b5d289d997b43c972a3cea5a9208e3a82c22e (diff) | |
download | pkgsrc-1d434e007f6d6e7e4ca4a74115117754f4a7e54e.tar.gz |
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 (limited to 'net')
-rw-r--r-- | net/ntp4/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile index fb29ec67b59..15bb0938480 100644 --- a/net/ntp4/Makefile +++ b/net/ntp4/Makefile @@ -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 @@ ALL_NTP_DOCS= ${DOCDIR} ${EXAMPLESDIR} 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} |