Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 15:49:43 -0800
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Philipp Ost" <pj@smo.de>, scrappy@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Building INDEX fails on 6.2-PRERELEASE
Message-ID:  <790a9fff0612201549r147ff21bid63660bdb30db07b@mail.gmail.com>
In-Reply-To: <4589193D.2060205@smo.de>
References:  <4589193D.2060205@smo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/20/06, Philipp Ost <pj@smo.de> wrote:
> Hi list,
>
> make index fails on 6.2-PRERELEASE (ports cvsup'd around 11:45 CET):
>
> # make index
> Generating INDEX-6 - please
> wait.."/usr/ports/www/apache20/Makefile.modules.3rd"
> , line 10: USE_APACHE and Makefile.modules.3rd can't be used together.
> ===> www/mod_log_sql2-dtc failed
> *** Error code 1
> 1 error
>
> ********************************************************************
> Before reporting this error, verify that you are running a supported
> version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
> have a complete and up-to-date ports collection.  (INDEX builds are
> not supported with partial or out-of-date ports collections -- in
> particular, if you are using cvsup, you must cvsup the "ports-all"
> collection, and have no "refuse" files.)  If that is the case, then
> report the failure to ports@FreeBSD.org together with relevant
> details of your ports configuration (including FreeBSD version,
> your architecture, your environment, and your /etc/make.conf
> settings, especially compiler flags and WITH/WITHOUT settings).
>
> Note: the latest pre-generated version of INDEX may be fetched
> automatically with "make fetchindex".
> ********************************************************************
>
> *** Error code 1
>
You need to make the following changes to the Makefile:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_log_sql2-dtc/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile    19 Dec 2006 15:24:42 -0000      1.4
+++ Makefile    20 Dec 2006 19:29:50 -0000
@@ -31,16 +31,15 @@
 CONFIGURE_ARGS+=       --with-dbi=${LOCALBASE}
 LIB_DEPENDS+=          dbi.0:${PORTSDIR}/databases/libdbi
 .endif
-.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
-.   if ${AP_VER} == 13
+.   if ${APACHE_VERSION} == 13
 WITHOUT_SSL=   YES
 .   endif
 .if defined(WITHOUT_SSL)
 CONFIGURE_ARGS+=       --disable-ssl
 SSL_PLIST=     "@comment "
 .else
-.if !exists(${LOCALBASE}/include/apache2/mod_ssl.h)
-BROKEN=                Please recompile apache2 with SSL support
+.if !exists(${LOCALBASE}/${APACHEINCLUDEDIR}/mod_ssl.h)
+BROKEN=                Please recompile apache${APACHE_VERSION} with
SSL support
 .endif
 .endif

I'm not at my system where I applied this patch, so you'll have to
recreate it manually.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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