Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] для пассажиро в [Re: freebsd port nginx 0.7.52]
On Fri, Apr 24, 2009 at 12:23:36PM +0400, Alexey V. Karagodov wrote:
> и что примечательно
[file listring skipped]
Предлагается патч, приводящий сборку к одному знаменателю.
==== //depot/user/osa/ports/www/nginx-devel/Makefile#11 -
/home/osa/p4/ports/www/nginx-devel/Makefile ====
--- /tmp/tmp.89728.95 2009-04-24 13:18:25.000000000 +0400
+++ /home/osa/p4/ports/www/nginx-devel/Makefile 2009-04-24 13:13:25.000000000
+0400
@@ -245,6 +245,9 @@
MASTER_SITES+= RF/passenger/:passenger
DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger
CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
+.if defined(WITH_DEBUG)
+CFLAGS+= -DPASSENGER_DEBUG
+.endif
.endif
.if defined(WITH_WWW)
@@ -305,8 +308,12 @@
${PATCHDIR}/extra-patch-ngx_http_fancyindex_module.c
.endif
.if defined(WITH_PASSENGER_MODULE)
- @${REINPLACE_CMD} 's!g++!${CXX}!' + @${REINPLACE_CMD} 's!g++!${CXX}!; + s!-DPASSENGER_DEBUG!${CXXFLAGS}!g' ${WRKDIR}/passenger-${PASSENGER_VERSION}/Rakefile
+ @${REINPLACE_CMD} '376,377d; + s!-lpthread!${PTHREAD_LIBS}!g' +
${WRKDIR}/passenger-${PASSENGER_VERSION}/lib/phusion_passenger/platform_info.rb
.endif
do-build:
--
Sergey A. Osokin,
System Engineer,
Macomnet, Internet Dept.
tel: +7 (495) 796-9079
fax: +7 (495) 796-9067
|