Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <200005031601.BAA26617@pis.toba-cmt.ac.jp>
In-Reply-To: In your message of "Thu, 04 May 2000 00:47:43 %2B0900" <200005031547.AAA26484@pis.toba-cmt.ac.jp>
References:  <200005031547.AAA26484@pis.toba-cmt.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--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




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