[PATCH] devel/libglade: fix build on 7.x

Rong-En Fan rafan at freebsd.org
Fri Mar 2 14:41:35 UTC 2007


>Submitter-Id:	current-users
>Originator:	Rong-En Fan
>Organization:	NTU CSIE
>Confidential:	no 
>Synopsis:	[PATCH] devel/libglade: fix build on 7.x
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.2-STABLE amd64
>Environment:
>Description:
- Fix build on 7.x after objformat removal
  However, devel/libtool installs .la files are pkg-plist are changed.
  Therefore, bump PORTREVISION.

Removed file(s):
- files/patch-ltmain.sh

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libglade-0.17_5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/devel/libglade/Makefile,v
retrieving revision 1.38
diff -u -u -r1.38 Makefile
--- Makefile	5 Nov 2006 03:05:34 -0000	1.38
+++ Makefile	2 Mar 2007 14:40:44 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	libglade
 PORTVERSION=	0.17
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/libglade/0.17
@@ -15,6 +15,7 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	GNOME glade library
 
+USE_AUTOTOOLS=	libtool:15
 USE_X_PREFIX=	yes
 USE_PERL5=	yes
 USE_GMAKE=	yes
Index: pkg-plist
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/devel/libglade/pkg-plist,v
retrieving revision 1.14
diff -u -u -r1.14 pkg-plist
--- pkg-plist	15 Feb 2002 19:01:48 -0000	1.14
+++ pkg-plist	2 Mar 2007 14:40:44 -0000
@@ -6,15 +6,19 @@
 include/libglade-1.0/glade/glade-xml.h
 include/libglade-1.0/glade/glade.h
 lib/libglade-bonobo.a
+lib/libglade-bonobo.la
 lib/libglade-bonobo.so
 lib/libglade-bonobo.so.4
 lib/libglade-gnome.a
+lib/libglade-gnome.la
 lib/libglade-gnome.so
 lib/libglade-gnome.so.4
 lib/libglade-gnomedb.a
+lib/libglade-gnomedb.la
 lib/libglade-gnomedb.so
 lib/libglade-gnomedb.so.4
 lib/libglade.a
+lib/libglade.la
 lib/libglade.so
 lib/libglade.so.4
 libdata/pkgconfig/libglade-bonobo.pc
Index: files/patch-ltmain.sh
===================================================================
RCS file: files/patch-ltmain.sh
diff -N files/patch-ltmain.sh
--- files/patch-ltmain.sh	20 Dec 2001 06:18:58 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,28 +0,0 @@
-
-$FreeBSD: ports/devel/libglade/files/patch-ltmain.sh,v 1.4 2001/12/20 06:18:58 sobomax Exp $
-
---- ltmain.sh	2001/08/27 09:51:26	1.1
-+++ ltmain.sh	2001/08/27 09:51:42
-@@ -2408,6 +2408,9 @@
- 	  *-*-netbsd*)
- 	    # Don't link with libc until the a.out ld.so is fixed.
- 	    ;;
-+	  *-*-freebsd*)
-+	    # FreeBSD doesn't need this...
-+	    ;;
- 	  *)
- 	    # Add libc to deplibs on all other systems if necessary.
- 	    if test "$build_libtool_need_lc" = "yes"; then
-@@ -4175,10 +4178,12 @@
- 	fi
- 
- 	# Install the pseudo-library for information purposes.
-+	if /usr/bin/false; then
- 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- 	instname="$dir/$name"i
- 	$show "$install_prog $instname $destdir/$name"
- 	$run eval "$install_prog $instname $destdir/$name" || exit $?
-+	fi
- 
- 	# Maybe install the static library, too.
- 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
--- libglade-0.17_5.patch ends here ---



More information about the freebsd-gnome mailing list