graphics/freeimage: Use SETENVI instead of SETENV

This commit is contained in:
Nuno Teixeira 2024-12-07 12:14:47 +00:00
parent 53a49f1a00
commit 8a22a80086

View file

@ -1,6 +1,6 @@
PORTNAME= freeimage PORTNAME= freeimage
PORTVERSION= 3.18.0 PORTVERSION= 3.18.0
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Source%20Distribution/${PORTVERSION} MASTER_SITES= SF/${PORTNAME}/Source%20Distribution/${PORTVERSION}
DISTNAME= FreeImage${PORTVERSION:S/.//g} DISTNAME= FreeImage${PORTVERSION:S/.//g}
@ -61,11 +61,11 @@ post-patch:
/^-fPIC/d' ${WRKSRC}/Makefile.gnu ${WRKSRC}/Makefile.fip /^-fPIC/d' ${WRKSRC}/Makefile.gnu ${WRKSRC}/Makefile.fip
post-build: post-build:
${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile.fip ${_MAKE_JOBS} \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile.fip ${_MAKE_JOBS} \
${MAKE_ARGS} -C ${BUILD_WRKSRC} ${MAKE_ARGS} -C ${BUILD_WRKSRC}
post-install: post-install:
${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile.fip ${MAKE_ARGS} \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile.fip ${MAKE_ARGS} \
-C ${INSTALL_WRKSRC} ${INSTALL_TARGET} -C ${INSTALL_WRKSRC} ${INSTALL_TARGET}
${LN} -sf libfreeimageplus.so.3 \ ${LN} -sf libfreeimageplus.so.3 \
${STAGEDIR}${PREFIX}/lib/libfreeimageplus.so ${STAGEDIR}${PREFIX}/lib/libfreeimageplus.so