PERL -> REINPLACE_CMD

PR:		43353
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2002-09-29 04:33:58 +00:00
parent a80513f9a6
commit a7adc7040b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67213

View file

@ -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>