Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 21:40:38 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nork@FreeBSD.org, knu@FreeBSD.org, ume@FreeBSD.org
Subject:   ports/50165: Support for USE_AUTOHEADER
Message-ID:  <200303211250.h2LCoC6Z087088@freefall.freebsd.org>

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

>Number:         50165
>Category:       ports
>Synopsis:       Support for USE_AUTOHEADER
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 04:50:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD 4.8-RC i386
>Organization:
Ensure Technology Ltd.
>Environment:
System: FreeBSD sakura.ninth-nine.com 4.8-RC FreeBSD 4.8-RC #33: Thu Mar 13 01:50:20 JST 2003 nork@sakura.ninth-nine.com:/usr/obj/usr/src/sys/SAKURA i386
>Description:
	A ports which are being made by ume required autoconf and
	autoheader.  For solution, I think should be installed by
	not pre-configure, USE_AUTOHEADER.  Because of same, autoconf
	part code.
>How-To-Repeat:
	None.
>Fix:
	Patch for bsd.port.mk.

--- bsd.port.mk.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.443
diff -u -r1.443 bsd.port.mk
--- bsd.port.mk	19 Mar 2003 06:26:14 -0000	1.443
+++ bsd.port.mk	21 Mar 2003 12:05:56 -0000
@@ -217,6 +217,8 @@
 # USE_AUTOCONF (PORT MAY SET THIS VALUE)
 #				- Implies WANT_AUTOCONF_VER?=213.
 #				- Causes autoconf execution prior to configure step.
+# USE_AUTOHEADER (PORT MAY SET THIS VALUE)
+#				- Implies USE_AUTOCONF.
 # WANT_AUTOCONF_VER (PORT MAY SET THIS VALUE)
 #				- Implies GNU_CONFIGURE=yes.
 #				- Says that the port wants autoconf; legal values
@@ -229,6 +231,10 @@
 #				- Pass these args to ${AUTOCONF} if ${USE_AUTOCONF_VER} 
 #				  is set. If an application sets this value, it should
 #				  use the += form of assignment to append, not overwrite.
+# AUTOHEADER_ARGS (PORT MAY ALTER THIS VALUE)
+#				- Pass these args to ${AUTOHEADER} if ${USE_AUTOHEADER} 
+#				  is set. If an application sets this value, it should
+#				  use the += form of assignment to append, not overwrite.
 ##
 # AUTOMAKE (READ-ONLY)
 #				- Set to path of GNU automake (default:
@@ -1143,6 +1149,9 @@
 USE_AUTOCONF?=		yes
 WANT_AUTOCONF_VER?=	${USE_AUTOCONF_VER}
 .endif # defined(USE_AUTOCONF_VER)
+.if defined(USE_AUTOHEADER)
+USE_AUTOCONF?=		yes
+.endif # defined(USE_AUTOHEADER)
 .if defined(USE_AUTOCONF)
 WANT_AUTOCONF_VER?=	${old_acver}
 .endif # defined(USE_AUTOCONF)
@@ -1175,6 +1184,7 @@
 SCRIPTS_ENV+=	PATH=${autotools_path}:${PATH}
 AUTOCONF_ENV+=	PATH=${autotools_path}:${PATH}
 AUTOMAKE_ENV+=	PATH=${autotools_path}:${PATH}
+AUTOHEADER_ENV+=	PATH=${autotools_path}:${PATH}
 AUTOTOOLS_ENV+=	PATH=${autotools_path}:${PATH}
 .endif # defined(autotools_path)
 
@@ -2694,6 +2704,10 @@
 .if defined(USE_AUTOCONF)
 	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} \
 		${AUTOCONF_ARGS})
+.endif
+.if defined(USE_AUTOHEADER)
+	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOHEADER_ENV} ${AUTOHEADER} \
+		${AUTOHEADER_ARGS})
 .endif
 	@if [ -f ${SCRIPTDIR}/configure ]; then \
 		cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \
--- bsd.port.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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