aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/freeipmi/Makefile4
-rw-r--r--sysutils/freeipmi/files/patch-man-Makefile.in11
2 files changed, 12 insertions, 3 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index 036357d163aa..2954548adb5b 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -19,13 +19,11 @@ OPTIONS_DEFINE= DEBUG DOCS IOPERM
IOPERM_DESC= Use i386_set_ioperm (i386/amd64 only)
CONFIGURE_ARGS= --disable-init-scripts \
- --disable-logdir \
- --disable-logrotate-config \
--localstatedir=/var \
--sysconfdir=${CONF_DIR} \
--with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
-CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
+CONFIGURE_ENV= PTHREAD_LIBS=-pthread ac_cv_path_CPP=${CPP}
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/sysutils/freeipmi/files/patch-man-Makefile.in b/sysutils/freeipmi/files/patch-man-Makefile.in
new file mode 100644
index 000000000000..4ad374aaf68c
--- /dev/null
+++ b/sysutils/freeipmi/files/patch-man-Makefile.in
@@ -0,0 +1,11 @@
+--- man/Makefile.in.orig 2013-01-11 03:00:35.000000000 +0800
++++ man/Makefile.in 2013-02-02 03:18:42.250624916 +0800
+@@ -896,7 +896,7 @@
+
+
+ $(MANS_CPP): $(MANS_CPP:%=%.pre)
+- $(CPP) -w -C -P -I$(top_srcdir)/man $@.pre $@
++ $(CPP) -w -C -I$(top_srcdir)/man $@.pre | grep -v '^#' > $@
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.