depend on c-client port instead of imap-uw
add patch to make configure detect the c-client include-files
This commit is contained in:
parent
1efbf5f793
commit
29fd2c97f9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2000/06/20 20:30:34 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2000/07/18 21:55:43 jakob Exp $
|
||||
|
||||
DISTNAME= php-3.0.16
|
||||
PKGNAME= php3-3.0.16
|
||||
@ -28,7 +28,7 @@ CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
|
||||
--with-config-file-path=/var/www/conf
|
||||
|
||||
BUILD_DEPENDS+= ${PREFIX}/lib/libexpat.a::textproc/expat \
|
||||
${PREFIX}/lib/libimap.a::mail/imap-uw
|
||||
${PREFIX}/lib/libc-client.a::mail/c-client
|
||||
|
||||
FLAVORS= mysql postgresql
|
||||
|
||||
|
20
www/php3/patches/patch-configure
Normal file
20
www/php3/patches/patch-configure
Normal file
@ -0,0 +1,20 @@
|
||||
--- configure.orig Wed Apr 5 01:32:58 2000
|
||||
+++ configure Tue Jul 18 23:39:15 2000
|
||||
@@ -5133,14 +5133,14 @@
|
||||
withval=/usr/local
|
||||
elif test -f /usr/include/mail.h; then
|
||||
withval=/usr
|
||||
- elif test -f /usr/include/imap/mail.h; then
|
||||
+ elif test -f /usr/include/c-client/mail.h; then
|
||||
withval=/usr
|
||||
fi
|
||||
fi
|
||||
if test "$withval" != "no" && test "$withval" != "yes"; then
|
||||
IMAP_DIR=$withval
|
||||
- if test -f $IMAP_DIR/include/imap/mail.h; then
|
||||
- IMAP_INC_DIR=$IMAP_DIR/include/imap
|
||||
+ if test -f $IMAP_DIR/include/c-client/mail.h; then
|
||||
+ IMAP_INC_DIR=$IMAP_DIR/include/c-client
|
||||
else
|
||||
IMAP_INC_DIR=$withval/include
|
||||
fi
|
Loading…
Reference in New Issue
Block a user