pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39081:
The following reply was made to PR pkg/39081; it has been noted by GNATS.
From: Adrian Portelli <adrianp%stindustries.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kimmo%global-wire.fi@localhost, Mark Davies <mark%mcs.vuw.ac.nz@localhost>
Subject: Re: pkg/39081:
Date: Mon, 07 Jul 2008 22:29:12 +0100
Kimmo Suominen wrote:
> The following reply was made to PR pkg/39081; it has been noted by GNATS.
>
> From: Kimmo Suominen <kimmo%global-wire.fi@localhost>
> To: Adrian Portelli <adrianp%stindustries.net@localhost>
> Cc: gnats-bugs%NetBSD.org@localhost, kimmo%global-wire.fi@localhost
> Subject: Re: pkg/39081:
> Date: Sun, 6 Jul 2008 23:43:25 +0300
>
> Hi Adrian,
>
> You probably need to set
>
> PKG_SYSCONFBASE=/etc
>
Hi,
It looks like the problem is with PHP and not PEAR. Try the attached
patch and see how it goes.
adrian.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php5/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile 4 May 2008 16:50:44 -0000 1.64
+++ Makefile 7 Jul 2008 21:25:19 -0000
@@ -2,7 +2,7 @@
PKGNAME= php-${PHP_BASE_VERS}
CATEGORIES= lang
-
+PKGREVISION= 1
HOMEPAGE= http://www.php.net/
COMMENT= PHP Hypertext Preprocessor version 5
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php5/Makefile.common,v
retrieving revision 1.29
diff -u -r1.29 Makefile.common
--- Makefile.common 4 May 2008 16:50:44 -0000 1.29
+++ Makefile.common 7 Jul 2008 21:25:19 -0000
@@ -1,4 +1,5 @@
# $NetBSD: Makefile.common,v 1.29 2008/05/04 16:50:44 adrianp Exp $
+# used by lang/php5/Makefile.php
.if !defined(DISTNAME)
DISTNAME= php-${PHP_BASE_VERS}
Index: Makefile.php
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php5/Makefile.php,v
retrieving revision 1.26
diff -u -r1.26 Makefile.php
--- Makefile.php 7 Sep 2007 22:12:13 -0000 1.26
+++ Makefile.php 7 Jul 2008 21:25:19 -0000
@@ -9,6 +9,7 @@
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
+BUILD_DEFS+= VARBASE
CONFIGURE_ENV+=
EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
@@ -18,6 +19,8 @@
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-regex=system
Home |
Main Index |
Thread Index |
Old Index