Fix build with custom LOCALBASE.
Reported by: QATty
This commit is contained in:
parent
d8f355345a
commit
2ed9ecd1f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235358
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user