Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 22:23:11 -0400
From:      Jim Mock <jim@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   gaim and libtool
Message-ID:  <20010628222311.A32640@cartman.boston.geekhouse.net>

next in thread | raw e-mail | index | archive | help
In the current gaim port, I have an extremely ugly hack in the Makefile
to make the port compile.  I'm talking about this:

    @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
	's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
	 s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'   
-->	 s|\@LIBTOOL\@|\${LOCALBASE}/bin/libtool|g'

Without it, the compile dies a horrible death.  Tonight when I was
testing a patch to fix MSN support, I noticed that make deinstall wasn't
able to remove /usr/X11R6/lib/gaim.  After taking a look, I noticed a
bunch of .a and .la turds from libtool in the directory.

Obviously, things don't seem to work right as far as libtool goes when
replacing @LIBTOOL@ with it's actual location, but it doesn't compile at
all if I don't.

And the million dollar question is... how can I fix this?  Sure, a
simple fix would be to just add the .a and .la files to pkg-plist, but
that doesn't really fix anything.  This issue just started recently (the
last commit to update the port to 0.11.0p14 was the first time the perl
hackery in the port Makefile was needed to get it to compile).

Any feedback will be appreciated.

- jim

-- 
- jim mock <jim@compete.com>      www.compete.com - jim@FreeBSD.org -
- senior systems administrator - Compete, Inc. - ph: 1.617.867.7035 -

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010628222311.A32640>