mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
postgresql??-*: Build with a clean environment
The fix in 572f236169
, PR 276478, suggest a change SETENV->SETENVI.
Implement this for the PostgreSQL builds. This should fix builds
problems for some when building using portmaster.
PR: 278889
Reported by: O. Hartmann
This commit is contained in:
parent
d3c9137c9e
commit
43c0fa7a8f
1 changed files with 4 additions and 4 deletions
|
@ -233,9 +233,9 @@ pre-build:
|
|||
.if !defined(NO_BUILD) && !target(do-build)
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers
|
||||
@ cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers
|
||||
@ for dir in ${BUILD_DIRS}; do \
|
||||
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ; \
|
||||
cd ${WRKSRC}/$${dir} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ; \
|
||||
done
|
||||
|
||||
. if exists(${FILESDIR}/pkg-message${COMPONENT}.in)
|
||||
|
@ -256,7 +256,7 @@ post-patch:
|
|||
do-install:
|
||||
@for dir in ${INSTALL_DIRS}; do \
|
||||
cd ${WRKSRC}/$${dir} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET}; \
|
||||
${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET}; \
|
||||
done
|
||||
. if defined(SERVER_ONLY)
|
||||
@ ${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql ;\
|
||||
|
@ -265,7 +265,7 @@ do-install:
|
|||
${STAGEDIR}${PREFIX}/etc/periodic/daily
|
||||
. endif # SERVER_ONLY
|
||||
. if defined(CLIENT_ONLY)
|
||||
@ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local
|
||||
@ cd ${WRKSRC}/src && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local
|
||||
. endif
|
||||
@ if [ -r ${PKGMESSAGE} ]; then \
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR} ;\
|
||||
|
|
Loading…
Add table
Reference in a new issue