summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-03-17 16:32:43 +0000
committerdanw <danw@pkgsrc.org>2004-03-17 16:32:43 +0000
commitc781e5e798a46590801abc6911a88ec6820e3f35 (patch)
tree7e9f8129c97361ea0d64868f622be6d388fdd8ce /www
parentc0cb88b59fec6f087a729877abac264ce753d772 (diff)
downloadpkgsrc-c781e5e798a46590801abc6911a88ec6820e3f35.tar.gz
don't use bmake's :tl modifier, so this will work on old NetBSD and
non-NetBSD platforms
Diffstat (limited to 'www')
-rw-r--r--www/php4/pear.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/php4/pear.mk b/www/php4/pear.mk
index e1950900b06..246ca341fd0 100644
--- a/www/php4/pear.mk
+++ b/www/php4/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.1 2003/12/17 19:02:07 jdolecek Exp $
+# $NetBSD: pear.mk,v 1.2 2004/03/17 16:32:43 danw Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -31,7 +31,8 @@ MASTER_SITES+= ${MASTER_SITE_PEAR_PACKAGE}
PEAR_CMD= ${PREFIX}/bin/pear
PEAR_LIB= lib/php
-_PEAR_PKG= ${DISTNAME:C/-.*//:tl}
+# Changed to not use :tl modifier since that's currently NetBSD 1.6-only
+_PEAR_PKG!= ${ECHO} ${DISTNAME:C/-.*//} | ${TR} '[A-Z]' '[a-z]'
# Dynamic PLIST
# The package.xml 'parsing' is a bit crude, but enough for now. Eventually