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:
jakob 2000-07-18 21:55:43 +00:00
parent 1efbf5f793
commit 29fd2c97f9
2 changed files with 22 additions and 2 deletions

View File

@ -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

View 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