1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Use USE_REINPLACE.

This commit is contained in:
Maxim Sobolev 2002-07-15 16:09:24 +00:00
parent 4800366563
commit ae452eda5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62996
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -46,7 +46,7 @@ MAN1+= battery_applet.1
.endif
post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>