summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/ext.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk
index 0881b77ef75..2fb64d84282 100644
--- a/lang/php/ext.mk
+++ b/lang/php/ext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.8 2005/09/19 23:07:10 abs Exp $
+# $NetBSD: ext.mk,v 1.9 2005/09/20 10:56:38 abs Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -19,13 +19,13 @@ PLIST_SUBST+= MODNAME=${PKGMODNAME}
.if !defined(PECL_VERSION)
# bundled extension
-PKGNAME= php-${MODNAME}-${PHP_BASE_VERS}
+PKGNAME?= php-${MODNAME}-${PHP_BASE_VERS}
EXTRACT_ELEMENTS?= ${DISTNAME}/ext/${PKGMODNAME}
WRKSRC?= ${WRKDIR}/${EXTRACT_ELEMENTS}
DISTINFO_FILE= ${.CURDIR}/${PHPPKGSRCDIR}/distinfo
.else
# PECL extension
-PKGNAME= php-${MODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
+PKGNAME?= php-${MODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
MASTER_SITES?= http://pecl.php.net/get/
DISTNAME= ${MODNAME}-${PECL_VERSION}
DIST_SUBDIR= php-${MODNAME}