From owner-freebsd-ports Wed May 3 8:49:29 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pis.toba-cmt.ac.jp (pis.toba-cmt.ac.jp [202.26.248.77]) by hub.freebsd.org (Postfix) with ESMTP id 35EEF37B7FE for ; Wed, 3 May 2000 08:49:20 -0700 (PDT) (envelope-from kiri@pis.toba-cmt.ac.jp) Received: from kiri.pis (localhost [127.0.0.1]) by pis.toba-cmt.ac.jp (8.9.3/8.9.3) with ESMTP id BAA26617 for ; Thu, 4 May 2000 01:01:51 +0900 (JST) (envelope-from kiri@pis.toba-cmt.ac.jp) Message-Id: <200005031601.BAA26617@pis.toba-cmt.ac.jp> Date: Thu, 04 May 2000 01:01:50 +0900 From: kiri@pis.toba-cmt.ac.jp To: freebsd-ports@FreeBSD.org Subject: Re: USE_AUTOMAKE directive In-Reply-To: In your message of "Thu, 04 May 2000 00:47:43 +0900" <200005031547.AAA26484@pis.toba-cmt.ac.jp> References: <200005031547.AAA26484@pis.toba-cmt.ac.jp> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko") Content-Type: multipart/mixed; boundary="Multipart_Thu_May__4_01:01:50_2000-1" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Thu_May__4_01:01:50_2000-1 Content-Type: text/plain; charset=US-ASCII At Thu, 04 May 2000 00:47:43 +0900, my wrote: > > --- bsd.port.mk Thu May 4 00:16:40 2000 > +++ ../Mk/bsd.port.mk Thu Apr 20 20:30:40 2000 > @@ -126,9 +126,6 @@ > # the system or installed from a port. Oh!!! That's upside-down. Sorry, again put it --Multipart_Thu_May__4_01:01:50_2000-1 Content-Type: text/plain; charset=US-ASCII --- ../Mk/bsd.port.mk Thu Apr 20 20:30:40 2000 +++ bsd.port.mk Thu May 4 00:16:40 2000 @@ -126,6 +126,9 @@ # the system or installed from a port. # USE_GMAKE - Says that the port uses gmake. # GMAKE - Set to path of GNU make if not in $PATH (default: gmake). +# USE_AUTOMAKE - Says that the port uses automake. Implies USE_AUTOCONF. +# AUTOMAKE - Set to path of GNU automake if not in $PATH (default: +# automake). # USE_AUTOCONF - Says that the port uses autoconf. Implies GNU_CONFIGURE. # AUTOCONF - Set to path of GNU autoconf if not in $PATH (default: # autoconf). @@ -699,6 +702,10 @@ .if defined(USE_GMAKE) BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake .endif +.if defined(USE_AUTOMAKE) +USE_AUTOCONF= yes +BUILD_DEPENDS+= automake:${PORTSDIR}/devel/automake +.endif .if defined(USE_AUTOCONF) GNU_CONFIGURE= yes BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf @@ -789,6 +796,7 @@ # Miscellaneous overridable commands: GMAKE?= gmake +AUTOMAKE?= automake AUTOCONF?= autoconf LIBTOOL?= libtool XMKMF?= xmkmf -a @@ -1701,6 +1709,9 @@ .if !target(do-configure) do-configure: +.if defined(USE_AUTOMAKE) + @(cd ${WRKSRC} && ${AUTOMAKE}) +.endif .if defined(USE_AUTOCONF) @(cd ${WRKSRC} && ${AUTOCONF}) .endif --Multipart_Thu_May__4_01:01:50_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message