Lines 105-112
post-patch:
Link Here
|
105 |
@${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h |
105 |
@${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h |
106 |
.endif |
106 |
.endif |
107 |
# shebangfix |
107 |
# shebangfix |
108 |
@${GREP} -Rl -e '#!/bin/b' -e '#!/bin/env' -e '#!/usr/bin/p' ${WRKSRC}/tools/ \ |
108 |
@${FIND} ${WRKSRC}/tools/ -type f -exec ${GREP} -l -e '#!/bin/b' -e '#!/bin/env' \ |
109 |
| ${XARGS} ${REINPLACE_CMD} -e '1s|#\!/bin/b|#\!/usr/local/bin/b|' \ |
109 |
-e '#!/usr/bin/p' {} + | ${XARGS} ${REINPLACE_CMD} -e \ |
|
|
110 |
'1s|#\!/bin/b|#\!/usr/local/bin/b|' \ |
110 |
-e '1s|#\!/bin/env|#\!/usr/bin/env|' \ |
111 |
-e '1s|#\!/bin/env|#\!/usr/bin/env|' \ |
111 |
-e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' |
112 |
-e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' |
112 |
# remove all .bak files to clean the stage |
113 |
# remove all .bak files to clean the stage |