aboutsummaryrefslogtreecommitdiff
path: root/editors/lazarus/Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-11-19 05:16:51 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-11-19 05:16:51 +0000
commitba273927d99556a8bf67a287f89d99df46e9cff0 (patch)
tree88afb667846e3f47995a7bee20091a9ce751f8db /editors/lazarus/Makefile
parentb24c09714bb90ecddf5ce28f4fc7196441e70081 (diff)
downloadports-ba273927d99556a8bf67a287f89d99df46e9cff0.tar.gz
ports-ba273927d99556a8bf67a287f89d99df46e9cff0.zip
Notes
Diffstat (limited to 'editors/lazarus/Makefile')
-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} && \