pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc do not define MASTER_SITES and EXTRACT_SUFX if PECL_VE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4315a3cf8df
branches:  trunk
changeset: 493476:d4315a3cf8df
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat May 07 18:50:24 2005 +0000

description:
do not define MASTER_SITES and EXTRACT_SUFX if PECL_VERSION is set,
so that lang/php/ext.php need not use = assignment and extensions
would be able to use different setting

diffstat:

 lang/php5/Makefile.common |  5 ++++-
 www/php4/Makefile.common  |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r b2006802c7a9 -r d4315a3cf8df lang/php5/Makefile.common
--- a/lang/php5/Makefile.common Sat May 07 17:45:33 2005 +0000
+++ b/lang/php5/Makefile.common Sat May 07 18:50:24 2005 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile.common,v 1.8 2005/04/11 20:16:02 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.9 2005/05/07 18:50:24 jdolecek Exp $
 #
 
 DISTNAME?=             php-${PHP_BASE_VERS}
 CATEGORIES+=           www
+
+.if !defined(PECL_VERSION)
 MASTER_SITES?=         http://www.php.net/distributions/ \
                        http://php3.de/distributions/ \
                        ftp://ftp.php.net/pub/distributions/
 EXTRACT_SUFX?=         .tar.bz2
+.endif
 
 MAINTAINER?=           jdolecek%NetBSD.org@localhost
 HOMEPAGE?=             http://www.php.net/
diff -r b2006802c7a9 -r d4315a3cf8df www/php4/Makefile.common
--- a/www/php4/Makefile.common  Sat May 07 17:45:33 2005 +0000
+++ b/www/php4/Makefile.common  Sat May 07 18:50:24 2005 +0000
@@ -1,11 +1,14 @@
-# $NetBSD: Makefile.common,v 1.47 2005/04/11 20:02:57 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.48 2005/05/07 18:50:25 jdolecek Exp $
 
 DISTNAME?=             php-${PHP_DIST_VERS}
 CATEGORIES+=           www php4
+
+.if !defined(PECL_VERSION)
 MASTER_SITES?=         http://www.php.net/distributions/ \
                        http://php3.de/distributions/ \
                        ftp://ftp.php.net/pub/distributions/
 EXTRACT_SUFX?=         .tar.bz2
+.endif
 
 MAINTAINER?=           jdolecek%NetBSD.org@localhost
 HOMEPAGE?=             http://www.php.net/



Home | Main Index | Thread Index | Old Index