From root@gits.dyndns.org  Tue Oct 10 20:38:23 2000
Return-Path: <root@gits.dyndns.org>
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by hub.freebsd.org (Postfix) with SMTP id 5D79037B502
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Oct 2000 20:38:22 -0700 (PDT)
Received: (qmail 13730756 invoked from network); 11 Oct 2000 03:38:20 -0000
Received: from r227m167.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.227.167]) (envelope-sender <root@gits.dyndns.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 11 Oct 2000 03:38:20 -0000
Received: (from root@localhost)
	by gits.dyndns.org (8.11.0/8.11.0) id e9B3cK092957;
	Wed, 11 Oct 2000 05:38:20 +0200 (CEST)
	(envelope-from root)
Message-Id: <200010110338.e9B3cK092957@gits.dyndns.org>
Date: Wed, 11 Oct 2000 05:38:20 +0200 (CEST)
From: Cyrille Lefevre <clefevre@citeweb.net>
Sender: root@gits.dyndns.org
Reply-To: clefevre@citeweb.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: bsd.ports.mk - automake/aclocal adds
X-Send-Pr-Version: 3.2

>Number:         21903
>Category:       ports
>Synopsis:       bsd.ports.mk - automake/aclocal adds
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    alane
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 10 20:40:01 PDT 2000
>Closed-Date:    Wed Jan 29 17:05:05 PST 2003
>Last-Modified:  Wed Jan 29 17:05:05 PST 2003
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.1-STABLE FreeBSD 4.1-STABLE #3: Sat Sep 23 10:20:30 CEST 2000     root@gits:/disk2/4.0-stable/src/sys/compile/CUSTOM  i386

>Description:

	this patch adds support for AUTOMAKE_ARGS and ACLOCAL before
	AUTOCONF in case of autogenerated Makefiles such as in dico-1.1
	(new port just submited which follow the old way, of course :).

>How-To-Repeat:

	the following lines :

	AUTOMAKE=       automake --add-missing --foreign --include-deps
	ACLOCAL=        aclocal
	pre-configure:
		@cd ${WRKSRC} && ${ACLOCAL}

	could simply be replaced by :

	USE_ACLOCAL=    true
	AUTOMAKE_ARGS=  --add-missing --foreign --include-deps

	which is more consise.

>Fix:

	apply the following patch.

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.355
diff -u -r1.355 bsd.port.mk
--- bsd.port.mk	2000/10/08 11:43:54	1.355
+++ bsd.port.mk	2000/10/11 03:25:52
@@ -139,6 +139,11 @@
 # USE_AUTOMAKE	- Says that the port uses automake.  Implies USE_AUTOCONF.
 # AUTOMAKE		- Set to path of GNU automake if not in $PATH (default:
 #				  automake).
+# AUTOMAKE_ARGS		- Any extra arguments to GNU automake in configure
+#				  stages (default: none).
+# USE_ACLOCAL	- Says that the port uses autoconf.  Implies USE_AUTOCONF.
+# ACLOCAL		- Set to path of GNU aclocal if not in $PATH (default:
+#				  aclocal).
 # USE_AUTOCONF	- Says that the port uses autoconf.  Implies GNU_CONFIGURE.
 # AUTOCONF		- Set to path of GNU autoconf if not in $PATH (default:
 #				  autoconf).
@@ -750,6 +755,9 @@
 USE_AUTOCONF=	yes
 BUILD_DEPENDS+=		automake:${PORTSDIR}/devel/automake
 .endif
+.if defined(USE_ACLOCAL)
+USE_AUTOCONF=	yes
+.endif
 .if defined(USE_AUTOCONF)
 GNU_CONFIGURE=	yes
 BUILD_DEPENDS+=		autoconf:${PORTSDIR}/devel/autoconf
@@ -895,6 +903,7 @@
 # Miscellaneous overridable commands:
 GMAKE?=			gmake
 AUTOMAKE?=		automake
+ACLOCAL?=		aclocal
 AUTOCONF?=		autoconf
 LIBTOOL?=		libtool
 XMKMF?=			xmkmf -a
@@ -1784,9 +1793,12 @@
 .if !target(do-configure)
 do-configure:
 .if defined(USE_AUTOMAKE)
-	@(cd ${WRKSRC} && ${AUTOMAKE})
+	@(cd ${WRKSRC} && ${AUTOMAKE} ${AUTOMAKE_ARGS})
 .endif
 .if defined(USE_AUTOCONF)
+.if defined(USE_ACLOCAL)
+	@(cd ${WRKSRC} && ${ACLOCAL})
+.endif
 	@(cd ${WRKSRC} && ${AUTOCONF})
 .endif
 	@if [ -f ${SCRIPTDIR}/configure ]; then \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->asami 
Responsible-Changed-By: ade 
Responsible-Changed-When: Thu Oct 12 14:12:27 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21903 

From: Cyrille Lefevre <clefevre@citeweb.net>
To: freebsd-gnats-submit@FreeBSD.org, clefevre@citeweb.net
Cc:  
Subject: Re: ports/21903: bsd.ports.mk - automake/aclocal adds
Date: Wed, 25 Oct 2000 22:38:14 +0200

 This is a multi-part message in MIME format.
 --------------3985A61FE9D21D6896BE59A3
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 patch updated (in attachment) since WRKSRC has been changed to
 CONFIGURE_WRKSRC and the original patch become broken.
 
 Cyrille.
 --
 home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr
 --------------3985A61FE9D21D6896BE59A3
 Content-Type: text/plain; charset=us-ascii;
  name="bsd.port.mk-2.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="bsd.port.mk-2.patch"
 
 Index: bsd.port.mk
 ===================================================================
 RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
 retrieving revision 1.356
 diff -u -r1.356 bsd.port.mk
 --- bsd.port.mk	2000/10/17 10:11:16	1.356
 +++ bsd.port.mk	2000/10/18 03:40:26
 @@ -139,6 +139,11 @@
  # USE_AUTOMAKE	- Says that the port uses automake.  Implies USE_AUTOCONF.
  # AUTOMAKE		- Set to path of GNU automake if not in $PATH (default:
  #				  automake).
 +# AUTOMAKE_ARGS		- Any extra arguments to GNU automake in configure
 +#				  stages (default: none).
 +# USE_ACLOCAL	- Says that the port uses autoconf.  Implies USE_AUTOCONF.
 +# ACLOCAL		- Set to path of GNU aclocal if not in $PATH (default:
 +#				  aclocal).
  # USE_AUTOCONF	- Says that the port uses autoconf.  Implies GNU_CONFIGURE.
  # AUTOCONF		- Set to path of GNU autoconf if not in $PATH (default:
  #				  autoconf).
 @@ -759,6 +764,9 @@
  USE_AUTOCONF=	yes
  BUILD_DEPENDS+=		automake:${PORTSDIR}/devel/automake
  .endif
 +.if defined(USE_ACLOCAL)
 +USE_AUTOCONF=	yes
 +.endif
  .if defined(USE_AUTOCONF)
  GNU_CONFIGURE=	yes
  BUILD_DEPENDS+=		autoconf:${PORTSDIR}/devel/autoconf
 @@ -904,6 +912,7 @@
  # Miscellaneous overridable commands:
  GMAKE?=			gmake
  AUTOMAKE?=		automake
 +ACLOCAL?=		aclocal
  AUTOCONF?=		autoconf
  LIBTOOL?=		libtool
  XMKMF?=			xmkmf -a
 @@ -1787,9 +1796,12 @@
  .if !target(do-configure)
  do-configure:
  .if defined(USE_AUTOMAKE)
 -	@(cd ${CONFIGURE_WRKSRC} && ${AUTOMAKE})
 +	@(cd ${CONFIGURE_WRKSRC} && ${AUTOMAKE} ${AUTOMAKE_ARGS})
  .endif
  .if defined(USE_AUTOCONF)
 +.if defined(USE_ACLOCAL)
 +	@(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL})
 +.endif
  	@(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
  .endif
  	@if [ -f ${SCRIPTDIR}/configure ]; then \
 
 --------------3985A61FE9D21D6896BE59A3--
 
 
Responsible-Changed-From-To: asami->portmgr 
Responsible-Changed-By: will 
Responsible-Changed-When: Wed Apr 4 01:16:07 PDT 2001 
Responsible-Changed-Why:  
Over to new maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21903 
Responsible-Changed-From-To: portmgr->alane 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jan 24 16:33:26 PST 2003 
Responsible-Changed-Why:  
alane is the autoconf maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21903 
State-Changed-From-To: open->suspended 
State-Changed-By: alane 
State-Changed-When: Fri Jan 24 16:42:13 PST 2003 
State-Changed-Why:  
Need to decide if this is relevant and doable now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21903 
State-Changed-From-To: suspended->closed 
State-Changed-By: alane 
State-Changed-When: Wed Jan 29 17:04:59 PST 2003 
State-Changed-Why:  
submittor MIA 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21903 
>Unformatted:
