Commit graph

8 commits

Author SHA1 Message Date
nibbles 2bits
0a025fb2cc libdnet: fix deps conditional
Libdnet uses `autoreconf` and has deps on automake and libtool
when using XCode-4.3 or greater; however, the previous commit I
authored has the wrong conditional where it also checks if the
formula is building HEAD.  That's not right.  There is no HEAD,
and `autoreconf` is used for stable.

* Remove `if ARGV.build_head?`

This was tested on Lion by removing automake, autoconf, and libtool
then using `brew install libdnet` which now builds all the deps.
It was also tested on SL using the system autotools without any
ENV vars set, such as LIBTOOLIZE.  Tested with XCode-4.3.2, 4.0.2.

Fixes Homebrew/homebrew#12280.
Closes Homebrew/homebrew#12286.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-16 19:14:36 -05:00
nibbles 2bits
1dcb4cddd2 libdnet: fix for autoreconf error on Lion
Libdnet is used by snort, but the manual autoreconf statements
cause a build error on Lion.  This is likely due to some subtle
changes in autoconf-2.69.

* Remove manual autotools statements.
* Set `ACLOCAL` to include the `config` directory.
* Use `autoreconf -ivf` the way the `autoconf` docs recommend.
* Remove the unrecognized `--disable-debug` flag.

This compiles with or without the `--with-python` flag, and it
functions well in `snort` using all five compilers from XCode
4.3.2 and 4.0.2 on Lion and Snow Leopard.  It's interesting to
see software from 2007 build the python bindings and install
them into the HB site-packages correctly.

Fixes Homebrew/homebrew#12174

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-10 06:42:52 -07:00
Adam Vandenberg
7d29878231 libdnet: add --with-python switch to build module 2012-03-12 20:55:07 -07:00
Jack Nagel
ade63d52f8 audit: automake, autoconf, and libtool are build-time deps
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-28 11:36:12 -06:00
Max Howell
cc42975f81 depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
2012-02-27 04:05:43 +00:00
Jack Nagel
9215fab34e libdnet: fix shared library extension
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-17 18:37:02 -05:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
achiu
2d867ee7d9 libdnet 1.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Fix man path
2010-05-09 21:30:22 -07:00