pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ap-modsecurity2 Fix build problem on Solaris ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c2293a440e2
branches: trunk
changeset: 398443:8c2293a440e2
user: seb <seb%pkgsrc.org@localhost>
date: Mon Aug 31 07:19:44 2009 +0000
description:
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:
security/ap-modsecurity2/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 2eae764b2b4c -r 8c2293a440e2 security/ap-modsecurity2/Makefile
--- a/security/ap-modsecurity2/Makefile Sun Aug 30 23:30:32 2009 +0000
+++ b/security/ap-modsecurity2/Makefile Mon Aug 31 07:19:44 2009 +0000
@@ -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 @@
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 @@
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}
Home |
Main Index |
Thread Index |
Old Index