Fix build with custom LOCALBASE.

Reported by:	QATty
This commit is contained in:
Ion-Mihai Tetcu 2009-06-07 13:09:30 +00:00
parent d8f355345a
commit 2ed9ecd1f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235358
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ MAN1= nex.1 nvi.1 nview.1
# configure is 555, so you can't do a "make configure" as non-root.
post-patch:
${REINPLACE_CMD} 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/../dist/configure
@${CHMOD} 755 ${WRKSRC}/../dist/configure
post-install:

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'
+LIBTOOL='$(SHELL) /usr/local/bin/libtool'
+LIBTOOL='$(SHELL) %%LOCALBASE%%/bin/libtool'
# Prevent multiple expansion