- Use post-configure: instead of pre-build:

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-04 11:36:47 +00:00
parent 157c68baac
commit 762fde0ac9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342495

View file

@ -25,7 +25,7 @@ LZMA_DEPEND?= sys
LIB_DEPENDS+= liblzma.so.1:${PORTSDIR}/archivers/lzmalib
.endif
pre-build:
post-configure:
.if ${LZMA_DEPEND} == "sys"
@${REINPLACE_CMD} -e "/^LDDLFLAGS/ s|${LOCALBASE}/lib|${LIBDIR}|" ${WRKSRC}/Makefile
.endif