Building INDEX fails on 6.2-PRERELEASE

Scot Hetzel swhetzel at gmail.com
Thu Dec 21 06:55:01 PST 2006


On 12/20/06, Philipp Ost <pj at 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 at 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.


More information about the freebsd-ports mailing list