pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/texlive Before copying files into the destinatio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/887b3230d37a
branches:  trunk
changeset: 593009:887b3230d37a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Sep 18 19:04:56 2011 +0000

description:
Before copying files into the destination directory, create it. Some pax
implementations do not accept a non-existing destination directory.

Fixes (some of) the texlive packages on MirBSD.

Reviewed by Jörg Sonnenberger.

diffstat:

 print/texlive/package.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c03dcfe354cd -r 887b3230d37a print/texlive/package.mk
--- a/print/texlive/package.mk  Sun Sep 18 16:51:32 2011 +0000
+++ b/print/texlive/package.mk  Sun Sep 18 19:04:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.9 2010/09/24 16:04:19 minskim Exp $
+# $NetBSD: package.mk,v 1.10 2011/09/18 19:04:56 bsiegert Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # TeX Live packages.
@@ -102,6 +102,7 @@
 .for _dir in ${_dirs}
        if [ -d ${WRKSRC}/${_dir} ]; then \
                cd ${WRKSRC} && \
+               ${MKDIR} ${_topdir} && \
                pax -rwpm -s ',.*\.orig$$,,' \
                        ${_dir} ${_topdir}; \
        fi



Home | Main Index | Thread Index | Old Index