Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 22:23:22 +0100 (CET)
From:      Koop Mast <einekoai@chello.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59189: Update: glademm, fix the detection of automake & autoconf
Message-ID:  <20031111212322.217C21DA4@rainbow-runner.nl>
Resent-Message-ID: <200311112130.hABLUGM8048916@freefall.freebsd.org>

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

>Number:         59189
>Category:       ports
>Synopsis:       Update: glademm, fix the detection of automake & autoconf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 11 13:30:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD prisma.rainbow-runner.nl 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sat Oct 11 05:31:30 CEST 2003 root@prisma.rainbow-runner.nl:/usr/obj/usr/src/sys/RainBow i386


	
>Description:
	This patch makes glade-- look for the right program.
	automake-1.7 -> automake17, 
	autoconf2.50 -> autoconf257.
	So it will complain about a version of auto* that is in the ports.

	Old glade-- output:
	automake-1.7: not found
	automake-1.6: not found
	autoconf2.50: not found
	...
	
>How-To-Repeat:
	
>Fix:

	

--- glademm.diff begins here ---
diff -ruN glademm.orig/Makefile glademm/Makefile
--- glademm.orig/Makefile	Tue Nov  4 10:27:09 2003
+++ glademm/Makefile	Tue Nov 11 22:18:10 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	glademm
 PORTVERSION=	2.0.0.1
+PORTREVISION=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	http://home.wtal.de/petig/Gtk/
 DISTNAME=	${PORTNAME:S/2$//}-${PORTVERSION}
@@ -15,6 +16,7 @@
 COMMENT=	A C++ code generator backend for glade and glade2
 
 USE_X_PREFIX=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gnomeprefix gnomehack gnometarget
 USE_LIBTOOL=	yes
@@ -24,5 +26,8 @@
 
 post-patch:
 	${RM} -f ${WRKSRC}/src/getopt.*
+	@${REINPLACE_CMD} -e 's|automake-1.7|automake17|g' \
+		-e 's|autoconf2.50|autoconf257|g' \
+		${WRKSRC}/src/glade--.cc
 
 .include <bsd.port.post.mk>
--- glademm.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?20031111212322.217C21DA4>