Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2001 01:00:42 -0400 (EDT)
From:      Mike Heffner <mheffner@novacoxmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Question on fixing port (mail/xfmail)
Message-ID:  <XFMail.20010707010042.mheffner@novacoxmail.com>

next in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.5.0.FreeBSD:20010707010042:289=_
Content-Type: text/plain; charset=us-ascii

Hi,

I just recently committed an update for mail/xfmail port, but it appears that
it wasn't quite ready to go ;(

It appears that the port needs libtool as a dependency, however when I add
'USE_LIBTOOL' I get:

===>  Configuring for xfmail-1.5.0
cp: aclocal.m4: No such file or directory

When I looked at this, I found out that this was the 'patch-libtool' target,
trying to patch aclocal.m4. However, in the port's Makefile I have the
following:

pre-configure:
        @cd ${WRKSRC} && ${SH} autogen.sh

the autogen.sh runs aclocal, autoheader, autoconf, and automake. But the
pre-configure target is set to run _after_ the patch-libtool target, so the
aclocal.m4 hasn't been created yet, hence the error. Now, if I change the above
to a 'post-patch' all is honkey-dorey, but post-patch doesn't really seem like
the best place to be running aclocal and friends.

So my question is, what's the best way to fix this? Change the pre-configure to
a post-patch target? Or is there a better fix?


Thanks,

Mike

-- 
  Mike Heffner         <mheffner@[acm.]vt.edu>
  Fredericksburg, VA       <mikeh@FreeBSD.org>


--_=XFMail.1.5.0.FreeBSD:20010707010042:289=_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7Rpd5FokZQs3sv5kRAq0iAJ9ZmKGsaYPIG7lyBO0BrKFtuSnvZACeOnw6
YDt+NTXqd0WranXOupU49Kw=
=1PKc
-----END PGP SIGNATURE-----

--_=XFMail.1.5.0.FreeBSD:20010707010042:289=_--
End of MIME message

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?XFMail.20010707010042.mheffner>