Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 09:31:42 +0100
From:      "\"Franz Klammer\" <Franz Klammer" <klammer@webonaut.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60357: misc/mc: change glib20 detection method to USE_GNOME
Message-ID:  <1071736292@ds9.webonaut.com>
Resent-Message-ID: <200312180840.hBI8eEBn031500@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60357
>Category:       ports
>Synopsis:       misc/mc: change glib20 detection method to USE_GNOME
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 00:40:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Franz Klammer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD ds9.webonaut.com 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Tue Dec  9 14:43:21 CET 2003     root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386


>Description:


- use USE_GNOME=glib20 instead of LIB_DEPENDS to automaticly match version change in shared library.
- remove CONFIGURE_TARGET because glib20 takes care of it (from Jeremy Messenger <mezz7@cox.net>)
- make portlint quiet


>How-To-Repeat:





>Fix:


--- Makefile.diff begins here ---
--- Makefile.orig	Thu Dec 18 09:20:06 2003
+++ Makefile	Thu Dec 18 09:20:50 2003
@@ -15,16 +15,15 @@
 MAINTAINER=	fjoe@FreeBSD.org
 COMMENT=	Midnight Commander, a free Norton Commander Clone
 
-.include <bsd.port.pre.mk>
-
-LIB_DEPENDS=	glib-2.0.200:${PORTSDIR}/devel/glib20 \
-		intl.5:${PORTSDIR}/devel/gettext
+LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
 BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
 
+.include <bsd.port.pre.mk>
+
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
+USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
 
 .if !defined(WITHOUT_SAMBA)
 CONFIGURE_ARGS+=--with-samba --with-configdir=${LOCALBASE}/etc \
--- Makefile.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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