aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2012-12-13 05:25:00 +0800
committeracm <acm@FreeBSD.org>2012-12-13 05:25:00 +0800
commit183423ea9ba4aba5e561084c9c5fe1fe54e8d470 (patch)
tree88d97b3f61fcd186281dfafe660799762a81acfe
parenta46c9833fa1fed57ab2f43b1f984ebf3003e5d9f (diff)
downloadfreebsd-ports-gnome-183423ea9ba4aba5e561084c9c5fe1fe54e8d470.tar.gz
freebsd-ports-gnome-183423ea9ba4aba5e561084c9c5fe1fe54e8d470.tar.zst
freebsd-ports-gnome-183423ea9ba4aba5e561084c9c5fe1fe54e8d470.zip
- Fix build with new version of lazarus. I forgotten add some lines on my previous
commit
-rw-r--r--x11-fm/doublecmd/Makefile4
1 files changed, 3 insertions, 1 deletions
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