diff options
author | tijl <tijl@FreeBSD.org> | 2016-03-22 21:14:14 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2016-03-22 21:14:14 +0800 |
commit | 44df29f8161e7ff20ea94abfaea10a90cac3e0e6 (patch) | |
tree | 928874d2c28be03a6e0a4233503f6bbe6f254c94 /sysutils | |
parent | 5a915fe06f942208d9ff2a507df357d7d87b6ba9 (diff) | |
download | freebsd-ports-graphics-44df29f8161e7ff20ea94abfaea10a90cac3e0e6.tar.gz freebsd-ports-graphics-44df29f8161e7ff20ea94abfaea10a90cac3e0e6.tar.zst freebsd-ports-graphics-44df29f8161e7ff20ea94abfaea10a90cac3e0e6.zip |
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.
Diffstat (limited to 'sysutils')
-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 de466fad59c..2c3248c3044 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 00000000000..07e8d97ea8f --- /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= |