pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xterm Before a file can be created, its directory ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e355256b63e
branches:  trunk
changeset: 515134:9e355256b63e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jun 25 19:37:44 2006 +0000

description:
Before a file can be created, its directory has to be there.

diffstat:

 x11/xterm/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f08007bbfc42 -r 9e355256b63e x11/xterm/Makefile
--- a/x11/xterm/Makefile        Sun Jun 25 19:24:41 2006 +0000
+++ b/x11/xterm/Makefile        Sun Jun 25 19:37:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/04/26 14:04:57 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2006/06/25 19:37:44 rillig Exp $
 
 DISTNAME=      xterm-212
 CATEGORIES=    x11
@@ -30,7 +30,8 @@
 DEINSTALL_FILE=        ${INSTALL_FILE}
 
 pre-build:
-       @${SED} -e 's#@MV@#${MV}#g' \
+       ${MKDIR} ${INSTALL_FILE:H}
+       ${SED} -e 's#@MV@#${MV}#g' \
          -e 's#@LOCALBASE@#${LOCALBASE}#g' \
          -e 's#@PREFIX@#${PREFIX}#g' \
          ${PKGDIR}/INSTALL.openwin >${INSTALL_FILE}



Home | Main Index | Thread Index | Old Index