Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 13:09:10 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361232 - in head/sysutils/openipmi: . files
Message-ID:  <201407081309.s68D9A6U064992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Jul  8 13:09:09 2014
New Revision: 361232
URL: http://svnweb.freebsd.org/changeset/ports/361232
QAT: https://qat.redports.org/buildarchive/r361232/

Log:
  - Remove TRACE option and depend on libexecinfo unconditionally because
    configure always detects it on FreeBSD 10
  - Add INSTALL_TARGET=install-strip
  - USES=pathfix
  - Avoid USE_AUTOTOOLS
  - Fix pkg-plist after USES=libtool conversion

Deleted:
  head/sysutils/openipmi/files/patch-Makefile.am
  head/sysutils/openipmi/files/patch-configure.in
Modified:
  head/sysutils/openipmi/Makefile
  head/sysutils/openipmi/pkg-plist

Modified: head/sysutils/openipmi/Makefile
==============================================================================
--- head/sysutils/openipmi/Makefile	Tue Jul  8 13:08:20 2014	(r361231)
+++ head/sysutils/openipmi/Makefile	Tue Jul  8 13:09:09 2014	(r361232)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openipmi
 PORTVERSION=	2.0.19
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/OpenIPMI%202.0%20Library
 DISTNAME=	OpenIPMI-${PORTVERSION}
@@ -11,19 +11,18 @@ DISTNAME=	OpenIPMI-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Complex IPMI management software
 
-LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt
+LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
+		libpopt.so:${PORTSDIR}/devel/popt
 
-USES=		gmake pkgconfig libtool
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	autoconf autoheader automake aclocal
 
-AUTOMAKE_ARGS+=	--add-missing --copy --foreign
-ACLOCAL_ARGS+=	-I ${LOCALBASE}/share/aclocal
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	SSL SNMP PERL PYTHON TCL TKINTER TRACE GDBM
+OPTIONS_DEFINE=	SSL SNMP PERL PYTHON TCL TKINTER GDBM
 OPTIONS_RADIO=	GLIB
 OPTIONS_RADIO_GLIB=	GLIB12 GLIB20
 SSL_DESC=	IPMI 2.0 RMCP+ encryption and authentication
@@ -32,7 +31,6 @@ PERL_DESC=	Perl interface for OpenIPMI l
 PYTHON_DESC=	Python interface for OpenIPMI library
 TCL_DESC=	TCL interface for OpenIPMI library
 TKINTER_DESC=	GUI for OpenIPMI, written in Python
-TRACE_DESC=	Enable backtrace inspecting
 GDBM_DESC=	Local SDR caching on startup
 GLIB12_DESC=	Simply OS handler for glib 1.2
 GLIB20_DESC=	Simply OS handler for glib 2.0
@@ -101,10 +99,6 @@ CONFIGURE_ARGS+=	--with-tcl=no
 PLIST_SUB+=		TCL="@comment "
 .endif
 
-.if ${PORT_OPTIONS:MTRACE}
-LIB_DEPENDS+=		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-.endif
-
 .if ${PORT_OPTIONS:MGDBM}
 LIB_DEPENDS+=		libgdbm.so:${PORTSDIR}/databases/gdbm
 .endif
@@ -127,4 +121,8 @@ CONFIGURE_ARGS+=	--with-glib=no
 PLIST_SUB+=		GLIB20="@comment "
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} '/libOpenIPMIutils_la_LIBADD =/s/$$/ -lexecinfo/' \
+		${WRKSRC}/utils/Makefile.in
+
 .include <bsd.port.mk>

Modified: head/sysutils/openipmi/pkg-plist
==============================================================================
--- head/sysutils/openipmi/pkg-plist	Tue Jul  8 13:08:20 2014	(r361231)
+++ head/sysutils/openipmi/pkg-plist	Tue Jul  8 13:09:09 2014	(r361232)
@@ -105,16 +105,19 @@ man/man8/ipmilan.8.gz
 %%GLIB12%%lib/libOpenIPMIglib12.a
 %%GLIB12%%lib/libOpenIPMIglib12.so
 %%GLIB12%%lib/libOpenIPMIglib12.so.0
+%%GLIB12%%lib/libOpenIPMIglib12.so.0.0.1
 %%GLIB12%%libdata/pkgconfig/OpenIPMIglib12.pc
 %%GLIB20%%@comment files list for GLIB20
 %%GLIB20%%lib/libOpenIPMIglib.a
 %%GLIB20%%lib/libOpenIPMIglib.so
 %%GLIB20%%lib/libOpenIPMIglib.so.0
+%%GLIB20%%lib/libOpenIPMIglib.so.0.0.1
 %%GLIB20%%libdata/pkgconfig/OpenIPMIglib.pc
 %%TCL%%@comment files list for TCL
 %%TCL%%lib/libOpenIPMItcl.a
 %%TCL%%lib/libOpenIPMItcl.so
 %%TCL%%lib/libOpenIPMItcl.so.0
+%%TCL%%lib/libOpenIPMItcl.so.0.0.1
 %%TCL%%libdata/pkgconfig/OpenIPMItcl.pc
 %%PERL%%@comment files list for PERL
 %%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OpenIPMI.pm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407081309.s68D9A6U064992>