Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 03:34:12 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   [ports/x11/gnome-terminal] Too rough approch of avoiding autoconf/automake
Message-ID:  <20101124033412.7268d7df.nork@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi gnome team.

	I found a problem when autoconf/automake is installed.

	I think that post-patch: looks like avoiding autoconf/automake.
	But too rough, so not work.  I researched 'target' dependency.
	I got following order:

	older < newer:
		configure.ac < aclocal.m4 < config.h.in
		configure.ac < aclocal.m4 < Makefile.in
		configure.ac < aclocal.m4 < configure < config.status
		Makefile.am < Makefile.in

	If ${TOUCH} required on post-patch: phase, then patch is following
	(no need config.status):

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- Makefile.orig	2010-11-24 02:18:59.242978766 +0900
+++ Makefile	2010-11-24 03:18:18.442279872 +0900
@@ -31,6 +31,7 @@
 GCONF_SCHEMAS=	gnome-terminal.schemas
 
 post-patch:
-	${FIND} ${WRKSRC} -type f -name Makefile.in -exec ${TOUCH} -f {} \;
+	${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
+		${WRKSRC}/configure ${WRKSRC}/config.h.in
 
 .include <bsd.port.mk>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	Thank you.

-- 
Norikatsu Shigemura <nork@FreeBSD.org>



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