Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 12:33:16 +0000 (UTC)
From:      Mahdi Mokhtari <mmokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461583 - head/www/mod_pagespeed
Message-ID:  <201802121233.w1CCXGcv017179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmokhi
Date: Mon Feb 12 12:33:16 2018
New Revision: 461583
URL: https://svnweb.freebsd.org/changeset/ports/461583

Log:
  www/mod_pagespeed: Fix undefined symbol error while loading module in apache24
  tl;dr, The error is caused by the build-system in "apache24" case can not
  detect that FreeBSD supports "posix-sharedmem" in the pthread/libthr.
  
  Reported by:	Marcarian Alexandru <marcarianalexandru@gmail.com>
  Sponsored by:	Netzkommune GmbH

Modified:
  head/www/mod_pagespeed/Makefile

Modified: head/www/mod_pagespeed/Makefile
==============================================================================
--- head/www/mod_pagespeed/Makefile	Mon Feb 12 12:17:00 2018	(r461582)
+++ head/www/mod_pagespeed/Makefile	Mon Feb 12 12:33:16 2018	(r461583)
@@ -2,7 +2,7 @@
 
 PORTNAME=	mod_pagespeed
 PORTVERSION=	1.12.34.2
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	www devel
 MASTER_SITES=	LOCAL/mmokhi:boringssl,chromium_base,chromium_build,googleurl,gflags_arch,gflags_src,libjpeg_turbo_src,yasm_patched,libwebp,modpb64 \
@@ -33,7 +33,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 
 USES=		compiler:c++14-lang gperf jpeg gmake localbase pkgconfig \
 		python shebangfix ssl tar:xz
-USE_APACHE=	24
+USE_APACHE=	22+
 SHEBANG_GLOB=	*.gyp *.gypi *.py *.sh
 SHEBANG_FILES=	build/fix_proto_and_invoke_protoc
 
@@ -48,6 +48,7 @@ BUILDTYPE=	Release
 MAKE_ENV+=	BUILDTYPE=${BUILDTYPE}
 CLR_VERSION=	20161024
 GYP_DEFINES+=	os_posix=1 \
+		support_posix_shared_mem=1 \
 		use_system_libs=1 \
 		use_system_protobuf=1 \
 		use_system_openssl=1 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802121233.w1CCXGcv017179>