1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix OPTIM= patching

This commit is contained in:
Andrey A. Chernov 1997-05-31 20:26:38 +00:00
parent 6c8762d020
commit ea2647680f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6657
9 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif

View File

@ -32,7 +32,7 @@ VERS_ID= dir/ache
post-patch:
@cd ${WRKSRC}/src && \
mv Configuration Configuration.old && \
sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
< Configuration.old > Configuration
.endif