diff options
author | seb <seb@pkgsrc.org> | 2009-08-31 07:19:44 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2009-08-31 07:19:44 +0000 |
commit | 598fba7b995edc3148b22ca16f9026485a9f2495 (patch) | |
tree | 076b70d4a32ffe043e2a5eb52e55c623c85a5d7b /security/ap-modsecurity2 | |
parent | 39c549b336e2dc44dfcf17c74655c3f50ad116d6 (diff) | |
download | pkgsrc-598fba7b995edc3148b22ca16f9026485a9f2495.tar.gz |
Fix build problem on Solaris with PKGSRC_COMPILER=sunpro and 'db4'
in PKG_OPTIONS.apr-util/PKG_DEFAULT_OPTIONS.
USE_LANGUAGES should be set before including mk/apache.mk as it
(may) ends up including mk/compiler.mk.
This last file sets a default value of 'c' to USE_LANGUAGES and
then uses it to set PKG_CC, PKG_CXX and PKG_FC to "fail wrappers".
Hence the C++ compiler command ends up being wrapped by a "fail
script" thus breaks the build.
Diffstat (limited to 'security/ap-modsecurity2')
-rw-r--r-- | security/ap-modsecurity2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ap-modsecurity2/Makefile b/security/ap-modsecurity2/Makefile index 2191f2f8c58..8456ac610bc 100644 --- a/security/ap-modsecurity2/Makefile +++ b/security/ap-modsecurity2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2009/07/17 18:00:23 adrianp Exp $ +# $NetBSD: Makefile,v 1.15 2009/08/31 07:19:44 seb Exp $ DISTNAME= modsecurity-apache_2.5.9 PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//} @@ -10,6 +10,7 @@ HOMEPAGE= http://www.modsecurity.org/ COMMENT= Intrusion detection and prevention engine for web applications PKG_APACHE_ACCEPTED= apache2 apache22 +USE_LANGUAGES+= c++ c .include "../../mk/apache.mk" .include "options.mk" @@ -18,7 +19,6 @@ GNU_CONFIGURE= YES USE_TOOLS+= pax USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/${DISTNAME}/apache2 -USE_LANGUAGES+= c++ c CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs CONFIGURE_ARGS+= --with-pcre=${PREFIX} |