mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Pass MAKE_ENV to build commands, fixing built with ccache as a result
PR: 201219 Submitted by: andrey@bsdnir.info Approved by: bbtruk@users.sourceforge.net (maintainer)
This commit is contained in:
parent
ca2aa33b3e
commit
b6c9fbea7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391027
1 changed files with 17 additions and 16 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= doublecmd
|
||||
PORTVERSION= 0.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-fm
|
||||
MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
@ -135,72 +136,72 @@ do-build:
|
|||
doublecmd/doublecmd_common.lpk KASToolBar/kascomp.lpk \
|
||||
viewer/viewerpackage.lpk gifanim/pkg_gifanim.lpk \
|
||||
ZVDateTimeCtrls/zvdatetimectrls.lpk
|
||||
@cd ${WRKSRC}/components && \
|
||||
@cd ${WRKSRC}/components && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "${FILE}"
|
||||
.endfor
|
||||
|
||||
.if ${PORT_OPTIONS:MWCX_CPIO}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/cpio/src/cpio.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWCX_DEB}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/deb/src/deb.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWCX_UNBZ2}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/unbz2/src/unbz2.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWCX_RPM}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/rpm/src/rpm.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWCX_UNRAR}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/unrar/src/unrar.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWCX_ZIP}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/zip/src/Zip.lpi"
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MWDX_RPM}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/rpm_wdx/src/rpm_wdx.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWDX_DEB}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/deb_wdx/src/deb_wdx.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWDX_SVN}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/svn_wdx/src/svn_wdx.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWDX_XPI}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/xpi_wdx/src/xpi_wdx.lpi"
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MWFX_FTP}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/ftp/src/ftp.lpi"
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MWFX_SAMBA}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/samba/src/samba.lpi"
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MWLX_MPLAYER}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wlx/WlxMplayer/src/wlxMplayer.lpi"
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDSX_LOCATE}
|
||||
@cd ${WRKSRC}/plugins && \
|
||||
@cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "dsx/DSXLocate/src/DSXLocate.lpi"
|
||||
.endif
|
||||
|
||||
@cd ${WRKSRC} && \
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
|
||||
|
||||
post-build:
|
||||
|
|
Loading…
Add table
Reference in a new issue