1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Fix build when WITH_NGINXPORT enabled.

While I'm here:

o) remove needless dynamic patch;
o) update minimal requirement nginx version tp 0.8.53.

Do not bump PORTREVISION cause WITH_NGINXPORT undefined by default.
This commit is contained in:
Sergey A. Osokin 2010-12-01 19:15:28 +00:00
parent 18ea14d40c
commit 3c3a36b653
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265521

View File

@ -34,7 +34,7 @@ USE_APACHE= 2.2+
.endif
.if defined(WITH_NGINXPORT)
BUILD_DEPENDS+= nginx>=0.7.64:${PORTSDIR}/www/nginx
BUILD_DEPENDS+= nginx>=0.8.53:${PORTSDIR}/www/nginx
.endif
BUILD_DEPENDS+= rubygem-fastthread>=1.0.1:${PORTSDIR}/devel/rubygem-fastthread \
@ -85,9 +85,7 @@ post-install:
.endif
.if defined(WITH_NGINXPORT)
${REINPLACE_CMD} '62d;65d' \
${PREFIX}/${GEM_LIB_DIR}/Rakefile
(cd ${PREFIX}/${GEM_LIB_DIR} && ${RAKE_BIN})
(cd ${PREFIX}/${GEM_LIB_DIR} && ${RAKE_BIN} nginx)
.endif
${FIND} ${PREFIX}/${GEM_LIB_DIR} -name '*.o' -delete