diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-01 10:47:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-01 10:47:34 +0800 |
commit | 9b032fdd9e545bf418da69a34961e89d4a8bff0a (patch) | |
tree | 65b82f0ed87355c3c8b979a7b5e47bef6e2c9b00 /x11-fm/doublecmd | |
parent | b067a4f2a4daa80248749a156f49a79728326758 (diff) | |
download | freebsd-ports-gnome-9b032fdd9e545bf418da69a34961e89d4a8bff0a.tar.gz freebsd-ports-gnome-9b032fdd9e545bf418da69a34961e89d4a8bff0a.tar.zst freebsd-ports-gnome-9b032fdd9e545bf418da69a34961e89d4a8bff0a.zip |
- 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)
Diffstat (limited to 'x11-fm/doublecmd')
-rw-r--r-- | x11-fm/doublecmd/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile index 42a5f3641d40..209783ffd155 100644 --- a/x11-fm/doublecmd/Makefile +++ b/x11-fm/doublecmd/Makefile @@ -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: |