Change /tmp directory used on installation (fix for PR 39449)

This commit is contained in:
adrianp 2008-09-02 17:37:59 +00:00
parent 754ffc992f
commit 1fafe1486d
3 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2007/09/05 19:46:55 jdolecek Exp $
# $NetBSD: Makefile,v 1.6 2008/09/02 17:37:59 adrianp Exp $
#
DISTNAME= PEAR-1.5.4
@ -53,7 +53,8 @@ DISTFILES+= ${STRUCTURES_SRCS}
SUBST_CLASSES+= config
SUBST_STAGE.config= post-patch
SUBST_FILES.config= install/go-pear.php
SUBST_SED.config= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_SED.config= -e "s|@WRKSRC@|${WRKSRC}|g"
SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_SED.config+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.config= Fixing configuration files.

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2007/05/16 12:19:08 adrianp Exp $
$NetBSD: distinfo,v 1.3 2008/09/02 17:37:59 adrianp Exp $
SHA1 (Archive_Tar-1.3.2.tgz) = 40a16c6fe6cee12d9fd87d487785db2949ffa9ff
RMD160 (Archive_Tar-1.3.2.tgz) = cec105d1cdefd502f209c24c217645cec723d7a2
@ -12,4 +12,4 @@ Size (PEAR-1.5.4.tgz) = 293070 bytes
SHA1 (Structures_Graph-1.0.2.tgz) = 300aa0a2effb0b39c4fa8a63a834748ae99c2855
RMD160 (Structures_Graph-1.0.2.tgz) = 8eb53f6da109b90bab5d8101e99183a1ae116404
Size (Structures_Graph-1.0.2.tgz) = 30947 bytes
SHA1 (patch-aa) = 5ff9804287e0fcea8eadf8b03f5292f11da3a5e6
SHA1 (patch-aa) = 13701f071f8500da7365245e63fe6c6c2fc2b624

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.1.1.1 2007/05/05 21:21:47 adrianp Exp $
$NetBSD: patch-aa,v 1.2 2008/09/02 17:37:59 adrianp Exp $
--- install/go-pear.php.orig 2007-04-15 23:09:15.000000000 +0100
+++ install/go-pear.php
@ -120,7 +120,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/05/05 21:21:47 adrianp Exp $
- $test_dir = '$php_dir/tests';
- $temp_dir = '$prefix/temp';
+ $test_dir = '$php_dir/test';
+ $temp_dir = '/tmp';
+ $temp_dir = '@WRKSRC@/tmp';
+
+/*