summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-13 11:56:25 +0000
committeredwin <edwin@FreeBSD.org>2003-04-13 11:56:25 +0000
commita93798f970f80d465913fa84638f9bf7a7d1594e (patch)
tree026429ffb9bef52447e03f910b44c27f711f0a93
parenta3eecf6d09270e9f59ab3da6326285ecd065220f (diff)
downloadFreeBSD-ports-a93798f970f80d465913fa84638f9bf7a7d1594e.zip
FreeBSD-ports-a93798f970f80d465913fa84638f9bf7a7d1594e.tar.gz
mail/turba & mail/imp3: better support of Apache2.
PR: ports/50489 Submitted by: Thierry Thomas <thierry@pompo.net>
-rw-r--r--mail/horde-turba/Makefile6
-rw-r--r--mail/horde4-turba/Makefile6
-rw-r--r--mail/imp3/Makefile6
-rw-r--r--mail/turba/Makefile6
4 files changed, 20 insertions, 4 deletions
diff --git a/mail/horde-turba/Makefile b/mail/horde-turba/Makefile
index 60127d2..bd198fa 100644
--- a/mail/horde-turba/Makefile
+++ b/mail/horde-turba/Makefile
@@ -62,7 +62,11 @@ TURBADIR= ${PREFIX}/${LTURBADIR}
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)
diff --git a/mail/horde4-turba/Makefile b/mail/horde4-turba/Makefile
index 60127d2..bd198fa 100644
--- a/mail/horde4-turba/Makefile
+++ b/mail/horde4-turba/Makefile
@@ -62,7 +62,11 @@ TURBADIR= ${PREFIX}/${LTURBADIR}
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)
diff --git a/mail/imp3/Makefile b/mail/imp3/Makefile
index e52f8cb..f31a1c4 100644
--- a/mail/imp3/Makefile
+++ b/mail/imp3/Makefile
@@ -148,7 +148,11 @@ CONFDIR= ${IMPDIR}/config
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}
diff --git a/mail/turba/Makefile b/mail/turba/Makefile
index 60127d2..bd198fa 100644
--- a/mail/turba/Makefile
+++ b/mail/turba/Makefile
@@ -62,7 +62,11 @@ TURBADIR= ${PREFIX}/${LTURBADIR}
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)
OpenPOWER on IntegriCloud