summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd/trinity.port.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/freebsd/trinity.port.mk b/freebsd/trinity.port.mk
index 0de956dfc..7536bd336 100644
--- a/freebsd/trinity.port.mk
+++ b/freebsd/trinity.port.mk
@@ -31,7 +31,7 @@ TDE_DEBUG?= 0
.MAKEFLAGS= # Reset makeflags to avoid -B supplied from bsd.port.subdir.mk
-PKG_CONFIG_PATH=/opt/trinity/libdata/pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig
+PKG_CONFIG_PATH=${TDE_PREFIX}/libdata/pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig
EXTRACT_DEPENDS=\
gtar:${PORTSDIR}/archivers/gtar \
@@ -161,8 +161,8 @@ tde-cmake-install: tde-install
### Custom build targets for AUTOTOOLS
tde-autotools-prepare:
[ -z "${TDE_BUILD_SUBDIR}" ] || rm -rf "${WRKSRC}/${TDE_BUILD_SUBDIR}"
- cp -f "/usr/local/share/aclocal/libtool.m4" "${WRKSRC}/admin/libtool.m4.in"
- cp -f "/usr/local/share/libtool/build-aux/ltmain.sh" "${WRKSRC}/admin/ltmain.sh"
+ cp -f "${LOCALBASE}/share/aclocal/libtool.m4" "${WRKSRC}/admin/libtool.m4.in"
+ cp -f "${LOCALBASE}/share/libtool/build-aux/ltmain.sh" "${WRKSRC}/admin/ltmain.sh"
gsed -i "${WRKSRC}/admin/acinclude.m4.in" -e "s|/usr/include/tqt|${LOCALBASE}/include/tqt|g"
${MAKE_CMD} -C "${WRKSRC}" -f "admin/Makefile.common"