From f79100a798e8c39859d158a3c25cb4ebd20e0462 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Thu, 1 Feb 2018 07:17:13 +0000 Subject: [PATCH] - New port: editors/lazarus-lcl-qt5 Lazarus components library - QT5 backend --- editors/lazarus-lcl-qt5/Makefile | 17 +++++++++++++++++ .../files/patch-interfaces_qt_qt45.pas | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 editors/lazarus-lcl-qt5/Makefile create mode 100644 editors/lazarus-lcl-qt5/files/patch-interfaces_qt_qt45.pas diff --git a/editors/lazarus-lcl-qt5/Makefile b/editors/lazarus-lcl-qt5/Makefile new file mode 100644 index 000000000000..9891096a8f5d --- /dev/null +++ b/editors/lazarus-lcl-qt5/Makefile @@ -0,0 +1,17 @@ +# Created by: Alonso Cardenas Marquez +# $FreeBSD$ + +PKGNAMESUFFIX= -lcl-qt5 + +COMMENT= Lazarus components library - QT5 backend + +BUILD_DEPENDS= ${LCL_UNITS_DIR}/alllclunits.ppu:editors/lazarus-lcl-units + +USE_FPC= fcl-base fcl-db fcl-image fcl-registry fcl-res \ + fcl-xml pasjpeg x11 + +LCL_INTERFACE= qt5 + +MASTERDIR= ${.CURDIR}/../../editors/lazarus + +.include "${MASTERDIR}/Makefile" diff --git a/editors/lazarus-lcl-qt5/files/patch-interfaces_qt_qt45.pas b/editors/lazarus-lcl-qt5/files/patch-interfaces_qt_qt45.pas new file mode 100644 index 000000000000..0f1fdf1fc625 --- /dev/null +++ b/editors/lazarus-lcl-qt5/files/patch-interfaces_qt_qt45.pas @@ -0,0 +1,11 @@ +--- interfaces/qt/qt45.pas.orig 2014-02-05 12:08:29 UTC ++++ interfaces/qt/qt45.pas +@@ -45,7 +45,7 @@ const + {$ENDIF} + + {$IFNDEF QTOPIA} +- {$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD)} ++ {$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD) or DEFINED(DRAGONFLY)} + {$DEFINE BINUX} + Qt4PasLib = 'libQt4Pas.so.5'; + {$ENDIF}