mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Add ability to run libtoolize by defining USE_AUTOTOOLS=libtoolize in the port
PR: ports/138139 Submitted by: bz
This commit is contained in:
parent
c41ff2d2df
commit
e42a337bd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252268
1 changed files with 18 additions and 3 deletions
|
@ -182,6 +182,11 @@ BUILD_DEPENDS+= ${AUTOCONF_DEPENDS}
|
||||||
LIB_DEPENDS+= ltdl.7:${PORTSDIR}/devel/libltdl22
|
LIB_DEPENDS+= ltdl.7:${PORTSDIR}/devel/libltdl22
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(AUTOTOOL_libtoolize)
|
||||||
|
AUTOTOOL_libtoolize_env= ${AUTOTOOL_libtoolize}
|
||||||
|
GNU_CONFIGURE?= yes
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(AUTOTOOL_libtool)
|
.if defined(AUTOTOOL_libtool)
|
||||||
GNU_CONFIGURE?= YES
|
GNU_CONFIGURE?= YES
|
||||||
AUTOTOOL_libtool_env= ${AUTOTOOL_libtool}
|
AUTOTOOL_libtool_env= ${AUTOTOOL_libtool}
|
||||||
|
@ -231,7 +236,7 @@ AUTOTOOLS_ENV+= ${AUTOTOOLS_VARS}
|
||||||
CONFIGURE_ENV+= ${AUTOTOOLS_VARS}
|
CONFIGURE_ENV+= ${AUTOTOOLS_VARS}
|
||||||
MAKE_ENV+= ${AUTOTOOLS_VARS}
|
MAKE_ENV+= ${AUTOTOOLS_VARS}
|
||||||
SCRIPTS_ENV+= ${AUTOTOOLS_VARS}
|
SCRIPTS_ENV+= ${AUTOTOOLS_VARS}
|
||||||
. for item in automake aclocal autoconf autoheader libtool
|
. for item in automake aclocal autoconf autoheader libtool libtoolize
|
||||||
. if defined(AUTOTOOL_${item}_env)
|
. if defined(AUTOTOOL_${item}_env)
|
||||||
${item:U}_ENV+= ${AUTOTOOLS_VARS}
|
${item:U}_ENV+= ${AUTOTOOLS_VARS}
|
||||||
. endif
|
. endif
|
||||||
|
@ -250,10 +255,10 @@ ${item:U}_ENV+= ${AUTOTOOLS_VARS}
|
||||||
# the order of autotools running.
|
# the order of autotools running.
|
||||||
|
|
||||||
.if !target(run-autotools)
|
.if !target(run-autotools)
|
||||||
.ORDER: run-autotools run-autotools-aclocal patch-autotools run-autotools-autoheader run-autotools-autoconf run-autotools-automake
|
.ORDER: run-autotools run-autotools-aclocal patch-autotools run-autotools-autoheader run-autotools-libtoolize run-autotools-autoconf run-autotools-automake
|
||||||
|
|
||||||
run-autotools:: run-autotools-aclocal patch-autotools run-autotools-autoheader \
|
run-autotools:: run-autotools-aclocal patch-autotools run-autotools-autoheader \
|
||||||
run-autotools-autoconf run-autotools-automake
|
run-autotools-libtoolize run-autotools-autoconf run-autotools-automake
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !target(run-autotools-aclocal)
|
.if !target(run-autotools-aclocal)
|
||||||
|
@ -266,6 +271,16 @@ run-autotools-aclocal:
|
||||||
. endif
|
. endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if !target(run-autotools-libtoolize)
|
||||||
|
run-autotools-libtoolize:
|
||||||
|
. if defined(AUTOTOOL_libtoolize)
|
||||||
|
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} \
|
||||||
|
${LIBTOOLIZE_ARGS})
|
||||||
|
. else
|
||||||
|
@${DO_NADA}
|
||||||
|
. endif
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !target(run-autotools-automake)
|
.if !target(run-autotools-automake)
|
||||||
run-autotools-automake:
|
run-autotools-automake:
|
||||||
. if defined(AUTOTOOL_automake)
|
. if defined(AUTOTOOL_automake)
|
||||||
|
|
Loading…
Add table
Reference in a new issue