From owner-freebsd-ports Thu May 21 13:03:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17706 for freebsd-ports-outgoing; Thu, 21 May 1998 13:03:05 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.westbend.net (ns1.westbend.net [207.217.224.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17701 for ; Thu, 21 May 1998 13:03:02 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [207.217.224.195]) by mail.westbend.net (8.8.8/8.8.8) with SMTP id PAA00356; Thu, 21 May 1998 15:02:45 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <000601bd84f3$6c2dc460$c3e0d9cf@admin.westbend.net> From: "Scot W. Hetzel" To: "Marc Slemko" Cc: "FreeBSD-Ports" Subject: Re: Apache v1.3b6 w/FrontPage Module Date: Thu, 21 May 1998 15:02:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Marc Slemko >Wait for b7 and use ap_add_version_component() at runtime if think you >really want to tell people the server is running fp. > Some one had already mentioned it, and I will be using it when b7 is available. >In b6, just set it on the command line with >"-DSERVER_SUBVERSION=FrontPage/3.04" or whatever. You should not be >editing Makefile.tmpl at all, and especially not in the main subdir. You >can set it in EXTRA_CFLAGS in Configure or add a MODULE-DEFINITION section >to the mod_frontpage.c file, like mod_auth_dbm uses: > I edited the Configure script for the apache-fp 13b6.b port, by defining SUBVERSION just before the script added -DSERVER_SUBVERSION to the CFLAGS. Anyway, I ended up using the MODULE-DEFINITION section to define SUBVERSION as bellow: /* * MODULE-DEFINITION-START * Name: frontpage_module * ConfigStart SUBVERSION="FrontPage/3.04" * ConfigEnd * MODULE-DEFINITION-END */ The only question I have should it be defined with "+=" or have ${SUBVERSION} inside the quotes. Just in case another module defines SUBVERSION. Thanks for the hint, Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message