mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Fixes build failure on recent macOS whose net-snmp-config is broken. Closes: https://trac.macports.org/ticket/69153 Switch pkgconfig dependency to path:-based to accommodate pkgconf. Add libtool dependency because prelude-manager links with libltdl.dylib. Add net-snmp dependency and --enable-snmp configure arg for clarity. Add libev dependency and --with-libev configure arg to tell it to use MacPorts libev and patch Makefile.am to avoid trying to build the bundled libev which would fail. Add LIBEV_CFLAGS and LIBEV_LIBS environment variables because the configure script expects to find libev via pkg-config but libev doesn't provide a pkg-config file. Remove --mandir=${prefix}/share/man configure arg; that's the default. Add --with-libwrap=${prefix} configure arg to suppress an ld warning that otherwise appears due to an improperly written configure script. Suppress warning about intentional implicit declaration of strchr. Use destroot.keepdirs to create the turd file in ${destroot}${prefix} /var/spool/prelude-manager rather than doing it manually. Co-authored-by: Craig Treleaven <ctreleaven@macports.org>
15 lines
501 B
Diff
15 lines
501 B
Diff
Do not try to build the libev subdirectory; we are using MacPorts libev.
|
|
|
|
Fixes:
|
|
|
|
make[2]: *** No rule to make target `all'. Stop.
|
|
--- Makefile.am.orig 2020-09-09 09:42:01.000000000 -0500
|
|
+++ Makefile.am 2024-01-22 23:58:56.000000000 -0600
|
|
@@ -1,5 +1,5 @@
|
|
ACLOCAL_AMFLAGS = -I m4 -I libmissing/m4
|
|
-SUBDIRS = docs libev libmissing m4 plugins src
|
|
+SUBDIRS = docs libmissing m4 plugins src
|
|
|
|
EXTRA_DIST = AUTHORS COPYING HACKING.README INSTALL NEWS README \
|
|
selinux/prelude-manager.te \
|