diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2016-03-22 13:14:14 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2016-03-22 13:14:14 +0000 |
| commit | aa926e9dbba148a07c87dc830b2d474e8b87d91c (patch) | |
| tree | 928874d2c28be03a6e0a4233503f6bbe6f254c94 | |
| parent | Allow use cgilib from C++. (diff) | |
Patch configure to define OPENIPMI_VERSION_*. These variables are defined
too early in configure.ac so autoconf doesn't copy them to configure.
This fixes version information in include/OpenIPMI/ipmiif.h.
Notes
Notes:
svn path=/head/; revision=411659
| -rw-r--r-- | sysutils/openipmi/Makefile | 3 | ||||
| -rw-r--r-- | sysutils/openipmi/files/patch-configure | 13 |
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= |
