Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 01:58:33 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mark Hannon <markhannon@optusnet.com.au>
Cc:        FreeBSD-gnats-submit@FreeBSD.org, gnome@FreeBSD.org
Subject:   Re: ports/43464: gftp patch-ab does not apply cleanly
Message-ID:  <20020929085833.GB71468@xor.obsecurity.org>
In-Reply-To: <200209290632.g8T6W1Po005545@tbird.home.lan>
References:  <200209290632.g8T6W1Po005545@tbird.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 29, 2002 at 04:32:01PM +1000, Mark Hannon wrote:

> Attempt to build gftp results in build failure while trying to apply
> patch-ab.  
> 	
> >How-To-Repeat:
> 	
> >Fix:
> Modify patch-ab line:
> 
> 	 Utilitiesdir = $(datadir)/apps/Internet
> 
> The correct line is:
> 
> 	 Utilitiesdir = $(datadir)/gnome/apps/Internet

Actually this wasn't the cause of the patch failing anyway, although
it might be a legitimate problem needing to be patched.  After
modifying patch-ab so that it applies, the configure script dies a bit
later on:

checking for glib-config... no
checking for GLIB - version >= 1.2.3... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: gFTP needs GLIB 1.2.3 or higher

I expect this is USE_GNOME breakage.

Corrected patch follows:

Index: patch-ab
===================================================================
RCS file: /usr/home/ncvs/ports/ftp/gftp/files/patch-ab,v
retrieving revision 1.7
diff -u -r1.7 patch-ab
--- patch-ab	22 Jan 2002 05:19:24 -0000	1.7
+++ patch-ab	29 Sep 2002 08:55:26 -0000
@@ -1,11 +1,12 @@
---- docs/Makefile.in.orig	Fri Dec 21 01:40:24 2001
-+++ docs/Makefile.in	Wed Jan  2 13:50:13 2002
-@@ -104,11 +104,13 @@
+--- docs/Makefile.in.orig	Sun Sep 29 01:55:11 2002
++++ docs/Makefile.in	Sun Sep 29 01:54:56 2002
+@@ -105,11 +105,13 @@
  SUBDIRS = sample.gftp
  EXTRA_DIST = USERS-GUIDE gftp.1 gftp.desktop gftp.lsm gftp.png parse-netrc.pl
  
+-Utilitiesdir = $(datadir)/apps/Internet
 +.ifdef HAVE_GNOME
- Utilitiesdir = $(datadir)/apps/Internet
++Utilitiesdir = $(datadir)/gnome/apps/Internet
  Utilities_DATA = gftp.desktop
  
  Iconsdir = $(datadir)/pixmaps

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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