diff options
author | osa <osa@FreeBSD.org> | 2009-04-30 20:47:46 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2009-04-30 20:47:46 +0800 |
commit | 180e6f765b5e6734247b5730440651f6f406794b (patch) | |
tree | 16387e805814d6e4cd10c9dc4650a24fec09bf97 /www | |
parent | fc010efade0b7bc64fece6874a6b399605acf052 (diff) | |
download | freebsd-ports-gnome-180e6f765b5e6734247b5730440651f6f406794b.tar.gz freebsd-ports-gnome-180e6f765b5e6734247b5730440651f6f406794b.tar.zst freebsd-ports-gnome-180e6f765b5e6734247b5730440651f6f406794b.zip |
Keep -DPASSENGER_DEBUG flag for third-party passenger module. [*]
Other way respect CXXFLAGS.
Do not bump PORTREVISION.
[*] Notice from: Hongli Lai aka hongli at plan99 dot net
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 1f77b150125b..5c0238506716 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -245,9 +245,6 @@ PASSENGER_VERSION= 2.2.2 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) @@ -308,10 +305,9 @@ post-patch: ${PATCHDIR}/extra-patch-ngx_http_fancyindex_module.c .endif .if defined(WITH_PASSENGER_MODULE) - @${REINPLACE_CMD} 's!g++!${CXX}!; \ - s!-DPASSENGER_DEBUG!${CXXFLAGS}!g' \ + @${REINPLACE_CMD} 's!g++!${CXX}!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/Rakefile - @${REINPLACE_CMD} '376,377d; \ + @${REINPLACE_CMD} '377s!-g!${CXXFLAGS}!; \ s!-lpthread!${PTHREAD_LIBS}!g' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/lib/phusion_passenger/platform_info.rb .endif |