From 140d7b7eb496fe4f57eceb4cd64aee3a189844c1 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sat, 28 May 2005 22:02:40 +0000 Subject: [PATCH] Replace PERL regexp separator: from "," to "|" for tricky CFLAGS, e.g., -O -pipe -pipe -funit-at-a-time -m3dnow -msse -mfpmath=sse,387 -O3 -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fomit-frame-pointer -freorder-blocks -frerun-cse-after-loop -fschedule-insns2 -fthread-jumps -funroll-loops -march=athlon-xp --- net/tightvnc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index 88f619385f2d..2504ccf08aa5 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -48,7 +48,7 @@ post-patch: @${PERL} -pi -e "s,/usr/local/vnc/classes,${DATADIR}/classes,g ; \ s,^#!/usr/bin/perl,#!${PERL},g" ${WRKSRC}/vncserver @${PERL} -pi -e "s,%%CC%%,${CC},g ; \ - s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf + s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf do-install: @(cd ${WRKSRC}; ./vncinstall ${PREFIX}/bin ${PREFIX}/man)