Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2019 09:05:43 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491923 - in head/sysutils/openipmi: . files
Message-ID:  <201902020905.x1295h2o073256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Feb  2 09:05:43 2019
New Revision: 491923
URL: https://svnweb.freebsd.org/changeset/ports/491923

Log:
  sysutils/openipmi: Remove GLIB12 option
  
  devel/glib12 is gone since r488008.
  
  Add missing USES=gnome while here.

Deleted:
  head/sysutils/openipmi/files/extra-patch-glib_glib__os__hnd.c
Modified:
  head/sysutils/openipmi/Makefile

Modified: head/sysutils/openipmi/Makefile
==============================================================================
--- head/sysutils/openipmi/Makefile	Sat Feb  2 09:00:42 2019	(r491922)
+++ head/sysutils/openipmi/Makefile	Sat Feb  2 09:05:43 2019	(r491923)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openipmi
 PORTVERSION=	2.0.26
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/OpenIPMI%202.0%20Library
 DISTNAME=	OpenIPMI-${PORTVERSION}
@@ -22,9 +23,7 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	SSL SNMP PERL PYTHON TCL TKINTER GDBM
-OPTIONS_RADIO=	GLIB
-OPTIONS_RADIO_GLIB=	GLIB12 GLIB20
+OPTIONS_DEFINE=	GDBM GLIB20 PERL PYTHON SNMP SSL TCL TKINTER
 SSL_DESC=	IPMI 2.0 RMCP+ encryption and authentication
 SNMP_DESC=	SNMP trap support for the sample programs
 PERL_DESC=	Perl interface for OpenIPMI library
@@ -32,7 +31,6 @@ PYTHON_DESC=	Python interface for OpenIPMI library
 TCL_DESC=	TCL interface for OpenIPMI library
 TKINTER_DESC=	GUI for OpenIPMI, written in Python
 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
 
 .include <bsd.port.options.mk>
@@ -107,20 +105,9 @@ PLIST_SUB+=		TCL="@comment "
 LIB_DEPENDS+=		libgdbm.so:databases/gdbm
 .endif
 
-.if ${PORT_OPTIONS:MGLIB12}
-USE_GNOME=		glib12
-CONFIGURE_ARGS+=	--with-glib --with-glibver=1.2 \
-			--with-glibcflags=-I${LOCALBASE}/include/glib-1.2 \
-			--with-gliblibs="-L${LOCALBASE}/lib -lglib -lgthread"
-MAKE_ENV+=		GLIB_MAJOR_VERSION=1
-EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-glib_glib__os__hnd.c
-PLIST_SUB+=		GLIB=""
-.else
-PLIST_SUB+=		GLIB="@comment "
-.endif
-
 .if ${PORT_OPTIONS:MGLIB20}
-USE_GNOME=		glib20
+USES+=			gnome
+USE_GNOME+=		glib20
 CONFIGURE_ARGS+=	--with-glib --with-glibver=2.0
 PLIST_SUB+=		GLIB=""
 .else



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