From 183423ea9ba4aba5e561084c9c5fe1fe54e8d470 Mon Sep 17 00:00:00 2001 From: acm Date: Wed, 12 Dec 2012 21:25:00 +0000 Subject: - Fix build with new version of lazarus. I forgotten add some lines on my previous commit --- x11-fm/doublecmd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile index 68189a1718be..1d72783fdb4c 100644 --- a/x11-fm/doublecmd/Makefile +++ b/x11-fm/doublecmd/Makefile @@ -27,6 +27,7 @@ PLIST= ${WRKDIR}/pkg-plist SUB_FILES= pkg-message PROJECT_FILE= src/doublecmd.lpi LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d +LAZARUS_DIR= ${LOCALBASE}/share/lazarus WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOCSRC= ${WRKDIR}/${PORTNAME}-help-0.5.1 @@ -70,8 +71,9 @@ post-patch: do-build: @cd ${WRKSRC}/components && \ ${FIND} * -name *.lpk -exec ${LAZBUILD_CMD} --ws=${LCL_PLATFORM} "{}" \; + --lazarusdir=${LAZARUS_DIR} @cd ${WRKSRC} && \ - ${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --bm="${BUILD_MODE}" ${PROJECT_FILE} + ${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE} post-build: @${RM} -rf ${DOCSRC}/*/dev-help -- cgit