ports/60357: misc/mc: change glib20 detection method to USE_GNOME

"Franz Klammer" <Franz Klammer klammer at webonaut.com
Thu Dec 18 08:40:18 UTC 2003


>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 at 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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list