Ticket #59002: Portfile

File Portfile, 1.9 KB (added by matthias-scheler (Matthias Scheler), 5 years ago)

New port file that fixes the build problem

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem 1.0
4
5name            ipmitool
6version         1.8.15
7revision        3
8
9categories      sysutils
10license         BSD
11maintainers     {dports @drkp} openmaintainer
12description     Intelligent Platform Management Interface management utility
13long_description \
14  IPMItool is a utility for managing and configuring devices that \
15  support the Intelligent Platform Management Interface (IPMI) version \
16  1.5 and version 2.0 specifications. IPMI is an open standard for \
17  monitoring, logging, recovery, inventory, and control of hardware that \
18  is implemented independent of the main CPU, BIOS, and OS. The ipmitool \
19  program provides a simple command-line interface to the Baseboard \
20  Management Controller. It features the ability to read the sensor data \
21  repository (SDR) and print sensor values, display the contents of the \
22  System Event Log (SEL), print Field Replaceable Unit (FRU) inventory \
23  information, read and set LAN configuration parameters, and perform \
24  remote chassis power control.
25
26platforms       darwin
27homepage        http://ipmitool.sourceforge.net/
28master_sites    sourceforge
29
30depends_lib     port:openssl10
31
32checksums \
33    rmd160  2884232d29e441b8ee136d7a75019c8fbb5d3a49 \
34    sha256  f0964e644a8e693932a3e8da6929d5598ed24645bacd51fbb1a4a09b5e47cf78
35
36configure.args --enable-intf-lanplus --enable-ipmishell
37configure.cppflags-append   -Ds6_addr16=__u6_addr.__u6_addr16
38configure.cppflags-prepend -I${prefix}/include/openssl-1.0
39configure.ldflags-prepend -L${prefix}/lib/openssl-1.0
40
41post-patch {
42    # remove CFLAGS that gcc 4.2 doesn't support
43    reinplace "s|-Wno-unused-result||g" ${worksrcpath}/configure
44    reinplace "s|-Wno-packed-bitfield-compat||g" ${worksrcpath}/configure
45}
46   
47configure.args  --mandir=${prefix}/share/man