Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 17:01:52 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125509: [maintainer-update] comms/gnokii: fix install in some cases and add missing dep
Message-ID:  <20080711150152.43A07130C76@megatron.madpilot.net>
Resent-Message-ID: <200807111510.m6BFA3iR058490@freefall.freebsd.org>

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

>Number:         125509
>Category:       ports
>Synopsis:       [maintainer-update] comms/gnokii: fix install in some cases and add missing dep
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 11 15:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 7.0-STABLE FreeBSD 7.0-STABLE #7: Sat May 31 17:40:26 CEST 2008 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON i386

>Description:

[1] Fix build and install in cases when the architecture is prepended to the binary name and [2] add missing dependency on glib2.

[1] reported by Carsten Jonstrup <carsten.jonstrup at gmail.com> and  Alastair Watts <awatts at pett.com.au>
[2] reported by Alastair Watts <awatts at pett.com.au>

bumped portrevision.

>How-To-Repeat:
>Fix:

diff -ruN gnokii.old/Makefile gnokii/Makefile
--- gnokii.old/Makefile	2008-07-11 16:53:10.000000000 +0200
+++ gnokii/Makefile	2008-07-11 16:56:06.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	gnokii
 PORTVERSION=	0.6.26
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
@@ -31,6 +31,7 @@
 		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
 		LIBS="-L../common -L${LOCALBASE}/lib" \
 		PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 PKGDEINSTALL=	${PKGINSTALL}
 PKGMESSAGE=	${WRKDIR}/pkg-message
@@ -92,6 +93,7 @@
 .else
 PLIST_SUB+=	SMSD=''
 MAN8+=		smsd.8
+USE_GNOME+=	glib20
 .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so) && !defined(WITHOUT_MYSQL)
 USE_MYSQL=	yes
 PLIST_SUB+=	MSM=''
@@ -113,7 +115,7 @@
 PLIST_SUB+=	X11='@comment '
 .else
 USE_XORG=	xpm
-USE_GNOME+=	gtk20 libgnome
+USE_GNOME+=	glib20 gtk20 libgnome
 PLIST_SUB+=	X11=''
 .if !defined(NOPORTDOCS)
 MAN1+=		xgnokii.1
>Release-Note:
>Audit-Trail:
>Unformatted:



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