mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix patching with WITH_PROC_SCOPE_PTH=yes
PR: ports/99384 Submitted by: Kyryll A Minrnenko <mirya@matrix.ua>
This commit is contained in:
parent
62d5116f7d
commit
1269507812
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172711
@ -184,9 +184,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
|
||||
.if defined(WITH_PROC_SCOPE_PTH)
|
||||
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
|
||||
.endif
|
||||
|
||||
.else
|
||||
# MySQL-Scripts part
|
||||
|
@ -184,9 +184,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
|
||||
.if defined(WITH_PROC_SCOPE_PTH)
|
||||
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
|
||||
.endif
|
||||
|
||||
.else
|
||||
# MySQL-Scripts part
|
||||
|
@ -184,9 +184,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
|
||||
.if defined(WITH_PROC_SCOPE_PTH)
|
||||
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
|
||||
.endif
|
||||
|
||||
.else
|
||||
# MySQL-Scripts part
|
||||
|
@ -184,9 +184,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
|
||||
.if defined(WITH_PROC_SCOPE_PTH)
|
||||
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
|
||||
.endif
|
||||
|
||||
.else
|
||||
# MySQL-Scripts part
|
||||
|
@ -184,9 +184,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
|
||||
.if defined(WITH_PROC_SCOPE_PTH)
|
||||
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
|
||||
.endif
|
||||
|
||||
.else
|
||||
# MySQL-Scripts part
|
||||
|
Loading…
Reference in New Issue
Block a user