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:
parent
6c8762d020
commit
ea2647680f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6657
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user