diff options
author | skrll <skrll@pkgsrc.org> | 2001-10-26 13:57:58 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-10-26 13:57:58 +0000 |
commit | 9f28ffc95eb2a823929bb7a8d76e25aeff7c9805 (patch) | |
tree | 3c6c7291aa6b651de1582a2fd38fee2322e3821e /mk | |
parent | 460b06f7ea470a37459c69e81cbc583c59b12318 (diff) | |
download | pkgsrc-9f28ffc95eb2a823929bb7a8d76e25aeff7c9805.tar.gz |
Update REPLACE_PERL to work for /bin/perl and use it in kdelibs2 instead
of home grown post-patch target.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 5893a677979..c31e2291e6a 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.830 2001/10/26 07:47:38 skrll Exp $ +# $NetBSD: bsd.pkg.mk,v 1.831 2001/10/26 13:57:58 skrll Exp $ # # This file is in the public domain. # @@ -1463,7 +1463,8 @@ do-patch: uptodate-digest . if defined(REPLACE_PERL) . for f in ${REPLACE_PERL} ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; if [ -f ${f} ]; then \ - ${SED} -e "s,/usr/bin/perl,${PERL5},g" \ + ${SED} -e "s,/bin/perl,${PERL5},g" \ + -e "s,/usr/bin/perl,${PERL5},g" \ -e "s,/usr/local/bin/perl,${PERL5},g" \ -e "s,/usr/pkg/bin/perl,${PERL5},g" \ ${f} > ${f}.new; \ |