Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 10:36:55 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413185 - in head: Mk/Uses graphics/p5-ming graphics/py-ming
Message-ID:  <201604131036.u3DAat7h097592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 13 10:36:54 2016
New Revision: 413185
URL: https://svnweb.freebsd.org/changeset/ports/413185

Log:
  Change default directory used by USES=autoreconf to WRKSRC
  
  PR:		208294
  Exp-run by:	antoine
  Reviewed by:	tijl
  Approved by:	portmgr (mat via D4157)
  Differential Revision:	https://reviews.freebsd.org/D4169

Modified:
  head/Mk/Uses/autoreconf.mk   (contents, props changed)
  head/graphics/p5-ming/Makefile   (contents, props changed)
  head/graphics/py-ming/Makefile   (contents, props changed)

Modified: head/Mk/Uses/autoreconf.mk
==============================================================================
--- head/Mk/Uses/autoreconf.mk	Wed Apr 13 10:36:15 2016	(r413184)
+++ head/Mk/Uses/autoreconf.mk	Wed Apr 13 10:36:54 2016	(r413185)
@@ -65,6 +65,7 @@ BUILD_DEPENDS+=	libtoolize:devel/libtool
 .endif
 
 AUTORECONF?=	${LOCALBASE}/bin/autoreconf
+AUTORECONF_WRKSRC?=	${WRKSRC}
 
 .endif
 
@@ -76,16 +77,16 @@ _USES_configure+=	470:do-autoreconf
 do-autoreconf:
 .for f in AUTHORS ChangeLog INSTALL NEWS README
 # Don't modify time stamps if the files already exist
-	@test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f}
+	@test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f}
 .endfor
 .if defined(_USE_GNOME) && ${_USE_GNOME:Mintltool}
-	@(cd ${CONFIGURE_WRKSRC} && \
+	@(cd ${AUTORECONF_WRKSRC} && \
 		if test -f configure.ac; then configure=configure.ac; \
 		else configure=configure.in; fi && \
 		if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \
 		then ${LOCALBASE}/bin/intltoolize -f -c; fi)
 .endif
-	@(cd ${CONFIGURE_WRKSRC} && ${AUTORECONF} -f -i)
+	@(cd ${AUTORECONF_WRKSRC} && ${AUTORECONF} -f -i)
 .endif
 
 .endif

Modified: head/graphics/p5-ming/Makefile
==============================================================================
--- head/graphics/p5-ming/Makefile	Wed Apr 13 10:36:15 2016	(r413184)
+++ head/graphics/p5-ming/Makefile	Wed Apr 13 10:36:54 2016	(r413185)
@@ -31,6 +31,7 @@ SHEBANG_FILES=	examples/*.cgi
 
 PORTEXAMPLES=	*
 
+AUTORECONF_WRKSRC=	${CONFIGURE_WRKSRC}
 CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
 WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/perl_ext
 

Modified: head/graphics/py-ming/Makefile
==============================================================================
--- head/graphics/py-ming/Makefile	Wed Apr 13 10:36:15 2016	(r413184)
+++ head/graphics/py-ming/Makefile	Wed Apr 13 10:36:54 2016	(r413185)
@@ -29,6 +29,7 @@ GNU_CONFIGURE=	yes
 USE_PYTHON=	autoplist concurrent distutils
 USES=		autoreconf libtool localbase python
 
+AUTORECONF_WRKSRC=	${CONFIGURE_WRKSRC}
 CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
 WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext
 



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