Simplified LOCALBASE and INCLUDEDIR replacement treatment
This commit is contained in:
parent
d450c174c7
commit
7812b1361d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290003
@ -36,9 +36,9 @@ INCLUDEDIR_REPLACE_FILES= \
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && \
|
||||
${REINPLACE_CMD} "s/@@LOCALBASE@@/${LOCALBASE:S/\//\\\//g}/g" \
|
||||
${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \
|
||||
${LOCALBASE_REPLACE_FILES} && \
|
||||
${REINPLACE_CMD} "s/@@INCLUDEDIR@@/${INCLUDEDIR:S/\//\\\//g}/g" \
|
||||
${REINPLACE_CMD} "s,@@INCLUDEDIR@@,${INCLUDEDIR},g" \
|
||||
${INCLUDEDIR_REPLACE_FILES}
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user