mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
PERL -> REINPLACE_CMD
PR: 43353 Submitted by: maintainer
This commit is contained in:
parent
a80513f9a6
commit
a7adc7040b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67213
1 changed files with 2 additions and 1 deletions
|
@ -18,12 +18,13 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
|||
|
||||
USE_GMAKE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1
|
||||
|
||||
MAN1= axel.1
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi -e 's,-O3,${CFLAGS},; s/gcc/${CC}/; \
|
||||
@${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s/gcc/${CC}/; \
|
||||
s/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile.settings
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue