summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-09-02 17:37:59 +0000
committeradrianp <adrianp@pkgsrc.org>2008-09-02 17:37:59 +0000
commit1fafe1486de15d4e48e09785b56b0bd8d448a94a (patch)
treee127a444ba410796ef6618d3414c83ae53807c72
parent754ffc992f31d5ce5891a353b5ac15bb0910cfb8 (diff)
downloadpkgsrc-1fafe1486de15d4e48e09785b56b0bd8d448a94a.tar.gz
Change /tmp directory used on installation (fix for PR 39449)
-rw-r--r--lang/pear/Makefile5
-rw-r--r--lang/pear/distinfo4
-rw-r--r--lang/pear/patches/patch-aa4
3 files changed, 7 insertions, 6 deletions
diff --git a/lang/pear/Makefile b/lang/pear/Makefile
index e59136533f8..da9dada5e02 100644
--- a/lang/pear/Makefile
+++ b/lang/pear/Makefile
@@ -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.
diff --git a/lang/pear/distinfo b/lang/pear/distinfo
index a68714701e2..01548f7cf18 100644
--- a/lang/pear/distinfo
+++ b/lang/pear/distinfo
@@ -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
diff --git a/lang/pear/patches/patch-aa b/lang/pear/patches/patch-aa
index 7c268726e2b..5dd4f972395 100644
--- a/lang/pear/patches/patch-aa
+++ b/lang/pear/patches/patch-aa
@@ -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';
+
+/*