mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use ${REINPLACE_CMD} instead of ${PERL}.
Pointed out by: kris
This commit is contained in:
parent
c928f4bc0f
commit
26e794c61a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77395
1 changed files with 2 additions and 1 deletions
|
@ -20,9 +20,10 @@ GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||||
THREAD_LIBS="${PTHREAD_LIBS}"
|
THREAD_LIBS="${PTHREAD_LIBS}"
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
|
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
|
||||||
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
|
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
|
||||||
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \
|
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue