Fix violations of automake/autoconf rules, other customary ports technique
that can lead to unpredicatble build failures on different platforms and individual setups. Approved by: implicit - build fixes/autoconf/automake violations with maintainers blessing
This commit is contained in:
parent
136a28a642
commit
c31d1624a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71977
4 changed files with 116 additions and 56 deletions
|
@ -14,33 +14,48 @@ DISTFILES= apr_${PORTVERSION}.tar.gz apr-util_20020725223700.tar.gz
|
|||
|
||||
MAINTAINER= rooneg@electricjellyfish.net
|
||||
|
||||
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
|
||||
libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
BUILD_DEPENDS+= libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS+= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WANT_AUTOCONF_VER= 253
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_PERL5= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
APR_CONF_ENV= ${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh
|
||||
|
||||
APR_UTIL_CONF_ENV=${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh \
|
||||
CPPFLAGS="-I${PREFIX}/include" \
|
||||
LDFLAGS="-L${PREFIX}/lib"
|
||||
|
||||
APR_UTIL_CONF_ARGS= --with-apr=../apr/ --with-expat=${PREFIX}
|
||||
|
||||
pre-fetch:
|
||||
@${SH} pkg-install apr PRE-INSTALL
|
||||
${SH} pkg-install apr PRE-INSTALL
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./buildconf)
|
||||
@(cd ${WRKDIR}/apr-util/ && ./buildconf)
|
||||
cd ${WRKDIR}/apr; ./buildconf
|
||||
cd ${WRKDIR}/apr-util; ./buildconf
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
|
||||
@(cd ${WRKDIR}/apr-util/ && ${ENV} CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
|
||||
cd ${WRKDIR}/apr; \
|
||||
${SETENV} ${APR_CONF_ENV} ./configure ${CONFIGURE_ARGS}
|
||||
cd ${WRKDIR}/apr-util; \
|
||||
${SETENV} ${APR_UTIL_CONF_ENV} \
|
||||
./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR}/apr/ && make)
|
||||
@(cd ${WRKDIR}/apr-util/ && make)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR}/apr/ && make install)
|
||||
(cd ${WRKDIR}/apr-util/ && make install)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make install
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -14,33 +14,48 @@ DISTFILES= apr_${PORTVERSION}.tar.gz apr-util_20020725223700.tar.gz
|
|||
|
||||
MAINTAINER= rooneg@electricjellyfish.net
|
||||
|
||||
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
|
||||
libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
BUILD_DEPENDS+= libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS+= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WANT_AUTOCONF_VER= 253
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_PERL5= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
APR_CONF_ENV= ${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh
|
||||
|
||||
APR_UTIL_CONF_ENV=${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh \
|
||||
CPPFLAGS="-I${PREFIX}/include" \
|
||||
LDFLAGS="-L${PREFIX}/lib"
|
||||
|
||||
APR_UTIL_CONF_ARGS= --with-apr=../apr/ --with-expat=${PREFIX}
|
||||
|
||||
pre-fetch:
|
||||
@${SH} pkg-install apr PRE-INSTALL
|
||||
${SH} pkg-install apr PRE-INSTALL
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./buildconf)
|
||||
@(cd ${WRKDIR}/apr-util/ && ./buildconf)
|
||||
cd ${WRKDIR}/apr; ./buildconf
|
||||
cd ${WRKDIR}/apr-util; ./buildconf
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
|
||||
@(cd ${WRKDIR}/apr-util/ && ${ENV} CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
|
||||
cd ${WRKDIR}/apr; \
|
||||
${SETENV} ${APR_CONF_ENV} ./configure ${CONFIGURE_ARGS}
|
||||
cd ${WRKDIR}/apr-util; \
|
||||
${SETENV} ${APR_UTIL_CONF_ENV} \
|
||||
./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR}/apr/ && make)
|
||||
@(cd ${WRKDIR}/apr-util/ && make)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR}/apr/ && make install)
|
||||
(cd ${WRKDIR}/apr-util/ && make install)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make install
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -14,33 +14,48 @@ DISTFILES= apr_${PORTVERSION}.tar.gz apr-util_20020725223700.tar.gz
|
|||
|
||||
MAINTAINER= rooneg@electricjellyfish.net
|
||||
|
||||
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
|
||||
libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
BUILD_DEPENDS+= libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS+= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WANT_AUTOCONF_VER= 253
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_PERL5= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
APR_CONF_ENV= ${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh
|
||||
|
||||
APR_UTIL_CONF_ENV=${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh \
|
||||
CPPFLAGS="-I${PREFIX}/include" \
|
||||
LDFLAGS="-L${PREFIX}/lib"
|
||||
|
||||
APR_UTIL_CONF_ARGS= --with-apr=../apr/ --with-expat=${PREFIX}
|
||||
|
||||
pre-fetch:
|
||||
@${SH} pkg-install apr PRE-INSTALL
|
||||
${SH} pkg-install apr PRE-INSTALL
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./buildconf)
|
||||
@(cd ${WRKDIR}/apr-util/ && ./buildconf)
|
||||
cd ${WRKDIR}/apr; ./buildconf
|
||||
cd ${WRKDIR}/apr-util; ./buildconf
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
|
||||
@(cd ${WRKDIR}/apr-util/ && ${ENV} CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
|
||||
cd ${WRKDIR}/apr; \
|
||||
${SETENV} ${APR_CONF_ENV} ./configure ${CONFIGURE_ARGS}
|
||||
cd ${WRKDIR}/apr-util; \
|
||||
${SETENV} ${APR_UTIL_CONF_ENV} \
|
||||
./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR}/apr/ && make)
|
||||
@(cd ${WRKDIR}/apr-util/ && make)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR}/apr/ && make install)
|
||||
(cd ${WRKDIR}/apr-util/ && make install)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make install
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -14,33 +14,48 @@ DISTFILES= apr_${PORTVERSION}.tar.gz apr-util_20020725223700.tar.gz
|
|||
|
||||
MAINTAINER= rooneg@electricjellyfish.net
|
||||
|
||||
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
|
||||
libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
BUILD_DEPENDS+= libtool:${PORTSDIR}/devel/libtool
|
||||
LIB_DEPENDS+= expat.4:${PORTSDIR}/textproc/expat2 \
|
||||
iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WANT_AUTOCONF_VER= 253
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_PERL5= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
APR_CONF_ENV= ${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh
|
||||
|
||||
APR_UTIL_CONF_ENV=${CONFIGURE_ENV} \
|
||||
CONFIG_SHELL=/bin/sh \
|
||||
CPPFLAGS="-I${PREFIX}/include" \
|
||||
LDFLAGS="-L${PREFIX}/lib"
|
||||
|
||||
APR_UTIL_CONF_ARGS= --with-apr=../apr/ --with-expat=${PREFIX}
|
||||
|
||||
pre-fetch:
|
||||
@${SH} pkg-install apr PRE-INSTALL
|
||||
${SH} pkg-install apr PRE-INSTALL
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./buildconf)
|
||||
@(cd ${WRKDIR}/apr-util/ && ./buildconf)
|
||||
cd ${WRKDIR}/apr; ./buildconf
|
||||
cd ${WRKDIR}/apr-util; ./buildconf
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
|
||||
@(cd ${WRKDIR}/apr-util/ && ${ENV} CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
|
||||
cd ${WRKDIR}/apr; \
|
||||
${SETENV} ${APR_CONF_ENV} ./configure ${CONFIGURE_ARGS}
|
||||
cd ${WRKDIR}/apr-util; \
|
||||
${SETENV} ${APR_UTIL_CONF_ENV} \
|
||||
./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR}/apr/ && make)
|
||||
@(cd ${WRKDIR}/apr-util/ && make)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR}/apr/ && make install)
|
||||
(cd ${WRKDIR}/apr-util/ && make install)
|
||||
cd ${WRKDIR}/apr; ${SETENV} ${MAKE_ENV} make install
|
||||
cd ${WRKDIR}/apr-util; ${SETENV} ${MAKE_ENV} make install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue