From owner-freebsd-ports Thu Oct 18 19:50: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4095B37B401 for ; Thu, 18 Oct 2001 19:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9J2o2F50107; Thu, 18 Oct 2001 19:50:02 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Oct 2001 19:50:02 -0700 (PDT) Message-Id: <200110190250.f9J2o2F50107@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Scot W. Hetzel" Subject: Re: ports/31361: Upgrade to Apache 1.3.22 + misc fixes Reply-To: "Scot W. Hetzel" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31361; it has been noted by GNATS. From: "Scot W. Hetzel" To: "FreeBSD-GNATS" Cc: "Cyrille Lefevre" Subject: Re: ports/31361: Upgrade to Apache 1.3.22 + misc fixes Date: Thu, 18 Oct 2001 21:20:24 -0500 > From: Cyrille Lefevre > Scot W. Hetzel wrote: > > > > >Number: 31361 > > >Category: ports > > >Synopsis: Upgrade to Apache 1.3.22 + misc fixes > [snip] > > -.if ${OSVERSION} < 500016 > > +.if ${OSVERSION} < 4300001 || ( ${OSVERSION} > 499999 && ${OSVERSION} < 500014 ) > > IMHO, >= 500000 is more readable than > 499999. > Thanks for the hint, below is an additional patch to the Makefile with this change and corrects an error in the last OSVERSION check (missing '|'). Scot --- Makefile.orig Thu Oct 18 14:09:35 2001 +++ Makefile Thu Oct 18 21:22:20 2001 @@ -47,7 +47,7 @@ .ifdef WANT_BSDI_EXT FRONTPAGE= fp40.bsdi.tar.Z EXTRA_PATCHES= ${FILESDIR}/change_server.bsdi ${FILESDIR}/fp_install.bsdi -.if ${OSVERSION} < 4300001 || ( ${OSVERSION} > 499999 && ${OSVERSION} < 500014 ) +.if ${OSVERSION} < 4300001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 ) PKGMESSAGE= pkg-message.bsdi .endif .else @@ -55,7 +55,7 @@ LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x .endif FRONTPAGE= fp40.freebsd.tar.Z -.if ${OSVERSION} < 4300001 || ( ${OSVERSION} > 499999 && ${OSVERSION} < 500014 ) +.if ${OSVERSION} < 4300001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 ) PKGMESSAGE= pkg-message.freebsd .endif .endif @@ -143,7 +143,7 @@ MAN8+= suexec.8 .endif -.if ${OSVERSION} < 430001 || ( ${OSVERSION} > 499999 && ${OSVERSION} < 500014 ) +.if ${OSVERSION} < 430001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 ) pre-extract: @if ! ${LDCONFIG} -r | ${GREP} -q -e "-ldescrypt"; then \ ${ECHO} ; \ @@ -208,7 +208,7 @@ @${INSTALL_FILE} ${WRKSRC}/${CHANGESERVER} ${PREFIX}/${CHANGESERVER}-dist @${INSTALL_FILE} ${WRKSRC}/${FPSETPERM} ${PREFIX}/${FPSETPERM} @PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 430001 | ( ${OSVERSION} > 499999 && ${OSVERSION} < 500014 ) +.if ${OSVERSION} < 430001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 ) .if ${ARCH} == i386 @${CAT} ${PKGMESSAGE} .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message