summaryrefslogtreecommitdiff
path: root/devel/ptl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ptl/Makefile')
-rw-r--r--devel/ptl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile
index aff5fce8c45d..edb1330df00f 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