pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/php5 Install bin/pear with correct file permissions



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2b9121812f4
branches:  trunk
changeset: 508269:f2b9121812f4
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Feb 17 09:48:01 2006 +0000

description:
Install bin/pear with correct file permissions

diffstat:

 lang/php5/Makefile      |  6 +++---
 lang/php5/buildlink3.mk |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r db94656b12f4 -r f2b9121812f4 lang/php5/Makefile
--- a/lang/php5/Makefile        Fri Feb 17 07:55:57 2006 +0000
+++ b/lang/php5/Makefile        Fri Feb 17 09:48:01 2006 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/02/06 06:39:59 martti Exp $
-#
+# $NetBSD: Makefile,v 1.28 2006/02/17 09:48:01 adam Exp $
 
 PKGNAME=               php-${PHP_BASE_VERS}
 #PKGREVISION=          1
@@ -36,7 +35,8 @@
 # file during installation; this replaces former patches/patch-al
 post-install:
        ${SED} -e 's,\(-d output_buffering=1\) \(\$$INCDIR/pearcmd.php\),\1 -n \2,' ${PREFIX}/bin/pear > ${PREFIX}/bin/pear.new && \
-               ${MV} ${PREFIX}/bin/pear.new ${PREFIX}/bin/pear
+               ${MV} ${PREFIX}/bin/pear.new ${PREFIX}/bin/pear && \
+               ${CHMOD} 755 ${PREFIX}/bin/pear
        ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php
        ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/${PKGMANDIR}/man1/php.1
        ${INSTALL_DATA_DIR} ${CGIDIR}
diff -r db94656b12f4 -r f2b9121812f4 lang/php5/buildlink3.mk
--- a/lang/php5/buildlink3.mk   Fri Feb 17 07:55:57 2006 +0000
+++ b/lang/php5/buildlink3.mk   Fri Feb 17 09:48:01 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/02/06 06:39:59 martti Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/02/17 09:48:01 adam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 PHP_BUILDLINK3_MK:=    ${PHP_BUILDLINK3_MK}+
@@ -11,11 +11,11 @@
 BUILDLINK_PACKAGES+=   php
 
 .if !empty(PHP_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.php+=        php>=5.1.2
+BUILDLINK_DEPENDS.php+=                php>=5.1.2
 BUILDLINK_RECOMMENDED.php+=    php>=5.1.2
 BUILDLINK_PKGSRCDIR.php?=      ../../lang/php5
 .endif # PHP_BUILDLINK3_MK
 
 .include "../../textproc/libxml2/buildlink3.mk"
 
-BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index