summaryrefslogtreecommitdiffstats
path: root/freebsd/trinity.port.mk
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/trinity.port.mk')
-rw-r--r--freebsd/trinity.port.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/freebsd/trinity.port.mk b/freebsd/trinity.port.mk
index 7d976d4ab..0de956dfc 100644
--- a/freebsd/trinity.port.mk
+++ b/freebsd/trinity.port.mk
@@ -1,6 +1,6 @@
### General information
-TDE_VERSION?= 14.0.7
+TDE_VERSION?= 14.0.8
TDE_PREFIX= /opt/trinity
PREFIX= ${TDE_PREFIX}
@@ -40,12 +40,13 @@ BUILD_DEPENDS=\
automake:${PORTSDIR}/devel/automake \
libtool:${PORTSDIR}/devel/libtool \
cmake:${PORTSDIR}/devel/cmake \
+ ninja:${PORTSDIR}/devel/ninja \
gettext:${PORTSDIR}/devel/gettext \
gfind:${PORTSDIR}/misc/findutils \
gsed:${PORTSDIR}/textproc/gsed \
bash:${PORTSDIR}/shells/bash \
-USES+= gmake
+USES+= ninja
PATCH_STRIP= -p1
@@ -79,6 +80,7 @@ TDE_CMAKE_CONFIGURE=\
[ -z "${TDE_BUILD_SUBDIR}" ] || mkdir ${WRKSRC}/${TDE_BUILD_SUBDIR} && \
cd ${WRKSRC}/${TDE_BUILD_SUBDIR} && \
cmake ${WRKSRC} \
+ -GNinja \
-DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" \
-DCMAKE_C_FLAGS="${TDE_FLAGS}" \
-DCMAKE_CXX_FLAGS="${TDE_FLAGS}" \
@@ -121,7 +123,7 @@ TDE_AUTOTOOLS_CONFIGURE+=--disable-debug
### Custom build targets
tde-pathfix:
cd ${WRKSRC}; \
- [ -d admin ] && \
+ [ -d admin ] && [ -e admin/am_edit ] && \
gsed -i admin/am_edit \
admin/debianrules \
admin/nmcheck \