summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqmake/Makefile
diff options
context:
space:
mode:
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: