Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 08:20:02 -0800 (PST)
From:      Alan Eldridge <alane@geeksrus.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/34467: bsd.port.mk is broken WRT USE_AUTOCONF_VER
Message-ID:  <200201311620.g0VGK2J13099@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34467; it has been noted by GNATS.

From: Alan Eldridge <alane@geeksrus.net>
To: gnats-admin@freebsd.org, freebsd-ports@freebsd.org
Cc:  
Subject: Re: ports/34467: bsd.port.mk is broken WRT USE_AUTOCONF_VER
Date: Wed, 30 Jan 2002 21:03:01 -0500

 Here's a simple fix. I decided against the "current" idea since that's
 more of a feature request. 
 
 This is the minimal patch which will make things work as they would be
 expected to.
 
 Index: Mk/bsd.port.mk
 ===================================================================
 RCS file: /home/alane/cvsroot/ports/Mk/bsd.port.mk,v
 retrieving revision 1.397
 diff -u -3 -r1.397 bsd.port.mk
 --- Mk/bsd.port.mk	24 Jan 2002 01:15:03 -0000	1.397
 +++ Mk/bsd.port.mk	31 Jan 2002 01:59:12 -0000
 @@ -163,7 +163,7 @@
  # AUTOMAKE_DIR	- Set to path of GNU automake shared directory (default:
  #				according to USE_AUTOMAKE_VER value)
  # USE_AUTOCONF_VER	- Says that the port uses autoconf. Possible
 -#				values: 213;
 +#				values: 213, 252;
  #				each specify a version of autoconf to use
  #				and appropriatly set both AUTOCONF{,_DIR}
  #				and ACLOCAL{,_DIR} variables.
 @@ -878,6 +878,7 @@
  AUTOMAKE?=		automake
  ACLOCAL_DIR?=		${LOCALBASE}/share/aclocal
  AUTOMAKE_DIR?=		${LOCALBASE}/share/automake
 +USE_AUTOCONF_VER?=	252
  .else
  BUILD_DEPENDS+=		automake14:${PORTSDIR}/devel/automake14
  
 @@ -892,7 +893,18 @@
  GNU_CONFIGURE=	yes
  .endif
  .if defined(USE_AUTOCONF_VER)
 +.if ${USE_AUTOCONF_VER} == 252
 +AUTOCONF?=		autoconf
 +AUTOHEADER?=		autoheader
 +AUTORECONF?=		autoreconf
 +AUTOSCAN?=		autoscan
 +AUTOUPDATE?=		autoupdate
 +AUTOIFNAMES?=		ifnames
 +AUTOCONF_DIR?=		${LOCALBASE}/share/autoconf/autoconf
 +BUILD_DEPENDS+=		autoconf:${PORTSDIR}/devel/autoconf
 +.else
  BUILD_DEPENDS+=		autoconf213:${PORTSDIR}/devel/autoconf213
 +.endif
  .endif
  .if defined(USE_LIBTOOL)
  GNU_CONFIGURE=	yes
 
 -- 
 Alan E
 "Please rush me my portable walrus cleaning kit! Yes I am over 18, 
 but my IQ isn't."
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-ports" in the body of the message

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?200201311620.g0VGK2J13099>