pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/php4 don't use bmake's :tl modifier, so this will ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb3bca1d07df
branches:  trunk
changeset: 471088:eb3bca1d07df
user:      danw <danw%pkgsrc.org@localhost>
date:      Wed Mar 17 16:32:43 2004 +0000

description:
don't use bmake's :tl modifier, so this will work on old NetBSD and
non-NetBSD platforms

diffstat:

 www/php4/pear.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 5d5f82f581b8 -r eb3bca1d07df www/php4/pear.mk
--- a/www/php4/pear.mk  Wed Mar 17 15:52:53 2004 +0000
+++ b/www/php4/pear.mk  Wed Mar 17 16:32:43 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index