summaryrefslogtreecommitdiffstats
path: root/openbsd/14.0.0/dependencies/tqt3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/14.0.0/dependencies/tqt3/Makefile')
-rw-r--r--openbsd/14.0.0/dependencies/tqt3/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/openbsd/14.0.0/dependencies/tqt3/Makefile b/openbsd/14.0.0/dependencies/tqt3/Makefile
index 885b0e96e..74b624a1a 100644
--- a/openbsd/14.0.0/dependencies/tqt3/Makefile
+++ b/openbsd/14.0.0/dependencies/tqt3/Makefile
@@ -2,16 +2,17 @@
PKGNAME= trinity-tqt3-${VERSION}
VERSION= 3.5.0${PREVERSION}
-PREVERSION= ~pre221+117b166c
+PREVERSION=
COMMENT= C++ X11 GUI toolkit
CATEGORIES= x11/trinity/dependencies
HOMEPAGE= http://www.trinitydesktop.org/
MAINTAINER= François Andriot <francois.andriot@free.fr>
-MASTER_SITES= http://nuc.vtf/tde/tde-tarballs/14.0.0/main/dependencies/
-DISTNAME= trinity-tqt3-${TDE_VERSION}${PREVERSION}
-EXTRACT_SUFX= .tar.gz
+MASTER_SITES= http://ppa2.quickbuild.pearsoncomputing.net/redirect.php?file=releases/R14.0.0/dependencies/
+DISTNAME= tqt3-R${TDE_VERSION}${PREVERSION}
+EXTRACT_SUFX= .tar.bz2
+WRKDIST= ${WRKDIR}/dependencies/tqt3
PREFIX= ${LOCALBASE}
@@ -77,7 +78,7 @@ CONFIGURE_ARGS+= -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql -plugin-s
.else
CONFIGURE_ARGS+=-no-sql-mysql
.endif
-LIB_DEPENDS-mysql= ${LIB_DEPENDS} ${BUILD_PKGPATH} databases/mysql
+LIB_DEPENDS-mysql= ${LIB_DEPENDS} ${BUILD_PKGPATH} databases/mariadb
WANTLIB-mysql= ${WANTLIB} mysqlclient tqt-mt
@@ -155,7 +156,7 @@ CONFIGURE_ENV= QTDIR="${WRKSRC}" \
post-patch:
# fix variables in 'qmake.conf'
- gsed -i ${WRKDIST}/mkspecs/*/qmake.conf \
+ gsed -i "${WRKDIST}/mkspecs/"*"/qmake.conf" \
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = /usr/local/include/tqt3|" \
-e "s|\$\(QTDIR\)|${LOCALBASE}|g" \
-e "s|-lqt|-ltqt|g" \
@@ -169,9 +170,11 @@ post-patch:
-e "s|^QMAKE_UIC =.*|QMAKE_UIC = ${LOCALBASE}/bin/tquic|" \
-e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = ${LOCALBASE}/include/tqt3|" \
-e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = ${LOCALBASE}/lib|"
- gsed -i ${WRKDIST}/mkspecs/openbsd-g++/qmake.conf \
+ gsed -i "${WRKDIST}/mkspecs/openbsd-g++/qmake.conf" \
-e "s|^QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME =|" \
-e "s|^CONFIG += qt warn_on release link_prl|CONFIG += qt warn_on release link_prl thread|"
+ gsed -i "${WRKDIST}/src/kernel/ntqstyle.h" \
+ -e "s|#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
echo "QMAKE_OPENBSD_SHLIBS = 1" >>"${WRKDIST}/mkspecs/openbsd-g++/qmake.conf"
do-configure: