Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 20:00:06 -0700 (PDT)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        freebsd-ports@FreeBSD.org
Subject:   ports/18960 - Additional patch for USE_APACHE
Message-ID:  <200006020300.UAA77471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/18960; it has been noted by GNATS.

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: FreeBSD-GNATS <FreeBSD-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: ports/18960 - Additional patch for USE_APACHE
Date: Thu, 1 Jun 2000 21:51:27 -0500 (CDT)

 Attached is an additional patch for USE_APACHE that will allow it
 to distingush between an apache13 and an apache13-ssl installation.
 
 Scot
 
 --- bsd.port.mk.orig	Thu Jun  1 20:33:48 2000
 +++ bsd.port.mk	Thu Jun  1 21:37:24 2000
 @@ -713,12 +713,16 @@
  APXS=		${PREFIX}/sbin/apxs
  
  .if exists(${APXS})
 +AP_TARGET!=	${APXS} -q TARGET
  AP_PORT!=	if ${APXS} -q AP_PORT > /dev/null 2>&1 ; then \
  			${APXS} -q AP_PORT ; \
  		else \
 -			echo "apache13" ; \
 +			if [ "${AP_TARGET}" = "httpsd" ] ; then \
 +				echo "apache13-ssl" ; \
 +			else \
 +				echo "apache13" ; \
 +			fi ; \
  		fi
 -AP_TARGET!=	${APXS} -q TARGET
  AP_SBINDIR!=	${APXS} -q SBINDIR
  AP_INCLUDE!=	${APXS} -q INCLUDEDIR
  AP_LIBEXEC!=	${APXS} -q LIBEXECDIR
 @@ -726,7 +730,11 @@
  AP_PREFIX!=	${APXS} -q PREFIX
  .else
  AP_PORT?=	apache13
 +.if ${AP_PORT} == "apache13-ssl"
 +AP_TARGET?=	httpsd
 +.else
  AP_TARGET?=	httpd
 +.endif
  AP_SBINDIR?=	${PREFIX}/sbin
  AP_INCLUDE?=	${PREFIX}/include/apache
  AP_LIBEXEC?=	${PREFIX}/libexec/apache
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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