ports/50489: mail/turba & mail/imp3: better support of Apache2.

Thierry Thomas thierry at pompo.net
Mon Mar 31 17:20:10 UTC 2003


>Number:         50489
>Category:       ports
>Synopsis:       mail/turba & mail/imp3: better support of Apache2.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 09:20:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-RC i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-RC FreeBSD 4.8-RC #0: Sat Mar 29 02:08:33 CET 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	To install mail/turba & mail/imp3 with Apache2, you have to define
	PHPSO; e.g.:

	make install PHPSO=/usr/local/libexec/apache2/libphp4.so

	That's not practical... The following patches, submitted by
	Oliver Eikemeier, make these ports use the standard WITH_APACHE2.

>How-To-Repeat:
	N/A.

>Fix:
	Please apply the following patches:


--- mail/turba/Makefile.orig	Sun Mar 30 21:07:41 2003
+++ mail/turba/Makefile	Mon Mar 31 18:49:58 2003
@@ -62,7 +62,11 @@
 CONFDIR=	${TURBADIR}/config
 
 HORDE_INC=	${LOCALBASE}/etc/horde
-PHPSO?=		${LOCALBASE}/libexec/apache/libphp4.so
+.if defined(WITH_APACHE2)
+PHPSO=		${LOCALBASE}/libexec/apache2/libphp4.so
+.else
+PHPSO=		${LOCALBASE}/libexec/apache/libphp4.so
+.endif
 
 pre-install:
 .if !defined(WITHOUT_LDAP)



--- mail/imp3/Makefile.orig	Sun Mar 30 21:07:35 2003
+++ mail/imp3/Makefile	Mon Mar 31 18:43:29 2003
@@ -148,7 +148,11 @@
 HCONFDIR=	${HORDEDIR}/config
 
 HORDE_INC=	${LOCALBASE}/etc/horde
-PHPSO?=		${LOCALBASE}/libexec/apache/libphp4.so
+.if defined(WITH_APACHE2)
+PHPSO=		${LOCALBASE}/libexec/apache2/libphp4.so
+.else
+PHPSO=		${LOCALBASE}/libexec/apache/libphp4.so
+.endif
 
 HOSTNAME?=	`/bin/hostname`
 SERVOS?=	${OPSYS}-${OSREL}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list