summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordanw <danw>2004-03-17 16:32:43 +0000
committerdanw <danw>2004-03-17 16:32:43 +0000
commit93407c32c26645d06662d21a8ac213887f7f67a6 (patch)
tree7e9f8129c97361ea0d64868f622be6d388fdd8ce /www
parentcf407baca644d51662d894c9ae40f2b844cb4995 (diff)
downloadpkgsrc-93407c32c26645d06662d21a8ac213887f7f67a6.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