Use LTMAIN and LIBTOOL instead of hardcore.
This commit is contained in:
parent
26c647da8a
commit
3f0791092e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236928
@ -30,7 +30,8 @@ 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
|
||||
${REINPLACE_CMD} -e 's,%%LIBTOOL%%,${LIBTOOL},g ; \
|
||||
s,%%LTMAIN%%,${LTMAIN},g' ${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=" %%LOCALBASE%%share/libtool/ltmain.sh"
|
||||
+LIBTOOL_DEPS=" %%LTMAIN%%"
|
||||
|
||||
# Always use our own libtool.
|
||||
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
+LIBTOOL='$(SHELL) %%LOCALBASE%%/bin/libtool'
|
||||
+LIBTOOL='$(SHELL) %%LIBTOOL%%'
|
||||
|
||||
# Prevent multiple expansion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user