From aaeb4b1425bfe845ae22767084c03c14edda9e76 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 10 Oct 2002 12:59:36 +0000 Subject: CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in them when using a non-default compiler/linker, so do not use `/' as delimiter for s///. (I picked `|' instead) --- devel/ptl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/ptl') diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile index aff5fce..edb1330 100644 --- a/devel/ptl/Makefile +++ b/devel/ptl/Makefile @@ -31,7 +31,7 @@ DOCS= COPYING ChangeLog FAQ NEWS \ WISHLIST doc/manual.ps.gz post-patch: - ${PERL} -i -pe 's/-O[2-6]/${CFLAGS}/g' \ + ${PERL} -i -pe 's|-O[2-6]|${CFLAGS}|g' \ ${WRKSRC}/Util/Makefile.in \ ${WRKSRC}/Util/configure \ ${WRKSRC}/libaltsys/utils/configure -- cgit v1.1