summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/openipmi/Makefile3
-rw-r--r--sysutils/openipmi/files/patch-configure13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/openipmi/Makefile b/sysutils/openipmi/Makefile
index de466fad59c2..2c3248c3044e 100644
--- a/sysutils/openipmi/Makefile
+++ b/sysutils/openipmi/Makefile
@@ -3,6 +3,7 @@
PORTNAME= openipmi
PORTVERSION= 2.0.21
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library
DISTNAME= OpenIPMI-${PORTVERSION}
@@ -20,7 +21,7 @@ USES= execinfo gmake libtool ncurses pathfix pkgconfig
USE_LDCONFIG= yes
CPPFLAGS+= -I../include -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= SSL SNMP PERL PYTHON TCL TKINTER GDBM
OPTIONS_RADIO= GLIB
diff --git a/sysutils/openipmi/files/patch-configure b/sysutils/openipmi/files/patch-configure
new file mode 100644
index 000000000000..07e8d97ea8f2
--- /dev/null
+++ b/sysutils/openipmi/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig 2014-01-28 19:35:11 UTC
++++ configure
+@@ -4206,6 +4206,10 @@ unknown)
+ esac
+
+
++OPENIPMI_VERSION_MAJOR=2
++OPENIPMI_VERSION_MINOR=0
++OPENIPMI_VERSION_RELEASE=21
++OPENIPMI_VERSION_EXTRA=
+
+
+ OPENIPMI_SMI=