Use LTMAIN instead of hardcore.

Approved by:	Armin Pirkovitsch <a.pirko@inode.at> (maintainer)
This commit is contained in:
Jeremy Messenger 2009-07-02 22:29:21 +00:00
parent dd9618f0fc
commit 1316780113
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236936
2 changed files with 2 additions and 1 deletions

View File

@ -67,6 +67,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'