1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

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
This commit is contained in:
Jan Beich 2016-04-13 10:36:54 +00:00
parent 88360e4c12
commit 7c2082609b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413185
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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