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
commit9a62421de6548cbb80d7e9d5d788a2b22135b8aa (patch)
tree7e9f8129c97361ea0d64868f622be6d388fdd8ce /www
parentde20237163b9a067f611d6a42d0946b2150f074d (diff)
downloadpkgsrc-9a62421de6548cbb80d7e9d5d788a2b22135b8aa.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