Use LTMAIN instead of hardcore.

Approved by:	chris <chris@officialunix.com> (maintainer)
This commit is contained in:
Jeremy Messenger 2009-07-02 22:01:36 +00:00
parent 254f3733a3
commit dd9618f0fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236935
2 changed files with 2 additions and 1 deletions

View file

@ -65,6 +65,7 @@ post-patch:
-e "s,.SS_KDE_GENERAL_DIR/share/applnk,${PREFIX}/share/applnk," \
-e "s,.SS_KDE_GENERAL_DIR/share/mimelnk,${PREFIX}/share/mimelnk," \
-e "s,kdeservicesdir=\".SS_KDE_SERVICESDIR\",kdeservicesdir=\"${PREFIX}/share/services\"," \
-e "s,%%LTMAIN%%,${LTMAIN}," \
${WRKSRC}/configure
post-configure:
@${MV} ${WRKSRC}/data/protocols/irc.protocol ${WRKSRC}/data/protocols/kvirc.protocol

View file

@ -5,7 +5,7 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool15/ltmain.sh"
+LIBTOOL_DEPS="--disable-ltlibs %%LTMAIN%%"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'