[ports/x11/gnome-terminal] Too rough approch of avoiding autoconf/automake

Norikatsu Shigemura nork at FreeBSD.org
Tue Nov 23 18:34:18 UTC 2010


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 at FreeBSD.org>


More information about the freebsd-gnome mailing list