aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/doublecmd/Makefile9
-rw-r--r--x11-fm/doublecmd/files/patch-src-foptions.pas11
-rw-r--r--x11-fm/doublecmd/files/patch-src-ftweakplugin.pas11
3 files changed, 25 insertions, 6 deletions
diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile
index 0a20cf9ac381..68189a1718be 100644
--- a/x11-fm/doublecmd/Makefile
+++ b/x11-fm/doublecmd/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: doublecmd
-# Date created: 01 Oct 2011
-# Whom: Beñat Gonzalez Etxepare <bbtruk@users.sourceforge.net>
-#
+# Created by: Beñat Gonzalez Etxepare <bbtruk@users.sourceforge.net>
# $FreeBSD$
-#
PORTNAME= doublecmd
PORTVERSION= 0.5.4
+PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}/Double%20Commander%20Source
@@ -29,7 +26,7 @@ USE_GNOME= desktopfileutils
PLIST= ${WRKDIR}/pkg-plist
SUB_FILES= pkg-message
PROJECT_FILE= src/doublecmd.lpi
-LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild
+LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCSRC= ${WRKDIR}/${PORTNAME}-help-0.5.1
diff --git a/x11-fm/doublecmd/files/patch-src-foptions.pas b/x11-fm/doublecmd/files/patch-src-foptions.pas
new file mode 100644
index 000000000000..b79763768f70
--- /dev/null
+++ b/x11-fm/doublecmd/files/patch-src-foptions.pas
@@ -0,0 +1,11 @@
+--- src/foptions.pas 2012-12-12 14:41:07.000000000 -0500
++++ src/foptions.pas 2012-12-12 14:41:39.000000000 -0500
+@@ -580,7 +580,7 @@
+
+ // Below needed until after we switch to Lazarus 0.9.31.
+ nbNotebook.TabStop := True;
+- {$if (lcl_release) < 31}
++ {$if (lcl_major < 1) and (lcl_release < 31)}
+ nbNotebook.ShowTabs := False;
+ nbNotebook.OnPageChanged := @nbNotebookPageChanged;
+ {$endif}
diff --git a/x11-fm/doublecmd/files/patch-src-ftweakplugin.pas b/x11-fm/doublecmd/files/patch-src-ftweakplugin.pas
new file mode 100644
index 000000000000..f43099eaf689
--- /dev/null
+++ b/x11-fm/doublecmd/files/patch-src-ftweakplugin.pas
@@ -0,0 +1,11 @@
+--- src/ftweakplugin.pas 2012-12-12 14:39:03.000000000 -0500
++++ src/ftweakplugin.pas 2012-12-12 14:39:40.000000000 -0500
+@@ -276,7 +276,7 @@
+
+ procedure TfrmTweakPlugin.FormCreate(Sender: TObject);
+ begin
+- {$if (lcl_release) < 31}
++ {$if (lcl_major < 1) and (lcl_release < 31)}
+ nbTweakAll.ShowTabs := False;
+ nbTweakAll.TabStop := True;
+ {$endif}