1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-05-28 22:02:40 +00:00
parent 6787a51e1f
commit 140d7b7eb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136355

View File

@ -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)