1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Fix build with custom LOCALBASE.

Reported by:	QATty
This commit is contained in:
Max Brazhnikov 2009-06-04 08:01:40 +00:00
parent 1bc11477fa
commit 6301f57fe4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235151
2 changed files with 5 additions and 3 deletions

View File

@ -40,6 +40,8 @@ USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e 's|>tar<|>gtar<|g' ${WRKSRC}/ark/ark.kcfg
${REINPLACE_CMD} -e 's|%%PYTHON_VER%%|${PYTHON_VER}|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|%%PYTHON_VER%%|${PYTHON_VER}|g' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -5,11 +5,11 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS=" /usr/local/share/libtool/ltmain.sh"
+LIBTOOL_DEPS=" %%LOCALBASE%%/share/libtool/ltmain.sh"
# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+LIBTOOL='$(SHELL) /usr/local/bin/libtool --silent'
+LIBTOOL='$(SHELL) %%LOCALBASE%%/bin/libtool --silent'
# Prevent multiple expansion