summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqmake/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-06 01:30:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-06 01:31:02 +0200
commit9010047840d810d9ccba3d00b7943a842e125291 (patch)
tree7698717495c9bc52be2bc8ab526071f3063b466d /freebsd/dependencies/tqmake/Makefile
parentb4f5663d87c16e08aaef66346f4b22eba2de80bd (diff)
downloadtde-packaging-9010047840d810d9ccba3d00b7943a842e125291.tar.gz
tde-packaging-9010047840d810d9ccba3d00b7943a842e125291.zip
FreeBSD: Update for final release R14.0.5r14.0.5
Additional patches due to stricter C++11 in Clang A new mkspec for Clang is used to build TQt Akode is now part of the TDE repository Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqmake/Makefile')
-rw-r--r--freebsd/dependencies/tqmake/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/freebsd/dependencies/tqmake/Makefile b/freebsd/dependencies/tqmake/Makefile
index 613bac150..fe669c105 100644
--- a/freebsd/dependencies/tqmake/Makefile
+++ b/freebsd/dependencies/tqmake/Makefile
@@ -5,7 +5,7 @@
PORTNAME= tqmake
COMMENT= The build utility of the TQt from Trinity
-TDE_PREVERSION= ~pre6+77ba1370
+TDE_PREVERSION=
MASTER_SITE_SUBDIR= t/tqt-x11-free
DISTNAME= tqt-x11-free_${TDE_VERSION}${TDE_PREVERSION:C/(~(pre|r|s)[0-9]*).*/\1/1}
DISTSRC= tqt3-trinity-${TDE_VERSION}${TDE_PREVERSION}
@@ -43,17 +43,14 @@ PLIST_SUB+= DOCSDIR="${DOCSDIR}"
post-patch:
@${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
- -e 's|gcc|${CC}|' \
- -e 's|g++|${CXX}|' \
-e 's|/usr/local|${LOCALBASE}|' \
-e 's|/usr/X11R6|${LOCALBASE}|' \
-e 's|$$(QTDIR)/bin|${PREFIX}/bin|g' \
-e 's|$$(QTDIR)/include|${PREFIX}/include/tqt3|g' \
-e 's|$$(QTDIR)/lib|${PREFIX}/lib|g' \
-e 's|$$(QTDIR)|${PREFIX}/share/tqt3|' \
- -e 's|release|release thread|' \
- ${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
- ${LN} -s freebsd-g++ ${WRKSRC}/../mkspecs/default
+ ${WRKSRC}/../mkspecs/freebsd-clang/qmake.conf
+ ${LN} -s freebsd-clang ${WRKSRC}/../mkspecs/default
@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
do-configure: