aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2010-11-19 13:16:51 +0800
committeracm <acm@FreeBSD.org>2010-11-19 13:16:51 +0800
commit1a319b4228efa64a3c0d07cd021ac57c9f1b1b54 (patch)
tree5ea447ec76fed04b7fb26302252ce27c14831d20 /editors
parent82ec0edb23b7a048e859e05c64f3c6cac29d5fc0 (diff)
downloadfreebsd-ports-gnome-1a319b4228efa64a3c0d07cd021ac57c9f1b1b54.tar.gz
freebsd-ports-gnome-1a319b4228efa64a3c0d07cd021ac57c9f1b1b54.tar.zst
freebsd-ports-gnome-1a319b4228efa64a3c0d07cd021ac57c9f1b1b54.zip
- Fix build with QT4
Diffstat (limited to 'editors')
-rw-r--r--editors/lazarus/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index 64d2ed33ba58..d52f5c02276d 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -49,15 +49,17 @@ USE_FPC+= gtk2
USE_GNOME= gtk20
LCL_PLATFORM= gtk2
.else
+.if !defined(WITH_QT4)
USE_FPC+= gtk1
USE_GNOME= gtk12 gdkpixbuf
LCL_PLATFORM= gtk
.endif
+.endif
.if defined(WITH_QT4)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/qt4/libqt4intf.so:${PORTSDIR}/x11-toolkits/qt4pas
+BUILD_DEPENDS+= ${LOCALBASE}/lib/qt4/libQt4Pas.so:${PORTSDIR}/x11-toolkits/qt4pas
LCL_PLATFORM= qt
-OPT_EXTRA= "-dUSE_QT_45"
+#OPT_EXTRA= "-dUSE_QT_45"
.endif
post-extract:
@@ -71,6 +73,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|libqt4intf.so.5|libQt4Pas.so.5|g' \
+ ${WRKSRC}/lcl/interfaces/qt/qt45.pas
do-build:
@cd ${WRKSRC} && \